+ 1

Code that finds the sum of the numbers in the index

Code that finds the sum of the numbers in the index

23rd Oct 2017, 4:52 PM
Söhrab Vahidli
Söhrab Vahidli - avatar
2 Respuestas
+ 1
hello im sorry i didnt catch your mean... but if you want program that sum of the index you can write it like this int sum=0; for (int i =0 ;i <10;i++){ sum=sum+i; } console.writeline (sum); this program will sum the index 0 to 9 its in c#
23rd Oct 2017, 8:37 PM
prg_Mohamad
prg_Mohamad - avatar
0
Have your whatsapp?
23rd Oct 2017, 8:59 PM
Söhrab Vahidli
Söhrab Vahidli - avatar