Way to Getting N Value by Using Only for Loop
1^2 + 2^2 + 3^2 + 4^2 + ..... + N^2. How can I get N value by giving any input using only for loop?
Answers
Answered by
0
if this is for a C language program, then :
int N; scanf("%d", &N);
I dont know if this is what you are looking for..
int N; scanf("%d", &N);
I dont know if this is what you are looking for..
Similar questions