26th Mar 2022, 5:39 AM
HELL DRAGON
HELL DRAGON - avatar
2 Réponses
+ 2
i increases "3" each time in for loop So, i = 3; i = 6; i = 9; Then "res+=i" calculates the sum of all "i" values So, res = 3+6+9 =18
26th Mar 2022, 6:12 AM
Raju Adhikary
Raju Adhikary - avatar
0
Thank u
26th Mar 2022, 6:13 AM
HELL DRAGON
HELL DRAGON - avatar