C Program To Find Sum of Squares of Numbers from 1 to N, using While Loop

preview_player
Показать описание

Lets write a C program to find sum of squares of all the numbers between 1 and user entered number, using while loop.

C Programming Interview / Viva Q&A List

C Programming: Beginner To Advance To Expert
Рекомендации по теме
Комментарии
Автор

Hi! Thank you for this. But can you also do How to calculate squares of numbers inputted by the user using function?

gpmarepomantabeanicoler.
Автор

What if we need exactly from 1 to 5, what do we have to change?

beeko
Автор

you just saved me 5 hours of thinking, I'm breaking down here😭 so novice in programming

preciousjumuad
Автор

How can we do sum of "odd" numbers from 1 to n

baranakbay
Автор

how about do while loop. anyways thanks!

neoncruz