+ 1
Code that finds the sum of the numbers in the index
Code that finds the sum of the numbers in the index
2 Answers
+ 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#
0
Have your whatsapp?