+ 2
Complete the folowing function procedure to calculate the sum of the sum from 1 to N. (Sum = 1+2+__+N) , N is entered as the inp
Vb.net
4 Respuestas
+ 6
int sum=0;
int i;
for (i=1;i<=N;i++){sum+=i;}
cout<<sum;
+ 3
Oh my gosh i just saw that vb.net!!