0

fot loop

can some one help with the code for doing summation using a for loop

9th Mar 2017, 4:57 PM
itumeleng
itumeleng - avatar
2 Answers
+ 1
dude you got to reformulate your question
9th Mar 2017, 5:10 PM
jhar
jhar - avatar
+ 1
ok using a for loop to calculate and display the the sum of 1 to n. where n is an input by the user . the result from the for loop should be some thing like 1+2+3+4=10 when n =4
9th Mar 2017, 5:24 PM
itumeleng
itumeleng - avatar