how to write a c program using while loop to find the square of the first five numbers and their sum? November 17, 2015 how to write a c program using while loop to find the square of the first five numbers and their sum?2015-11-17T00:40:22+00:00 Questions List › Category: c › how to write a c program using while loop to find the square of the first five numbers and their sum? 0 Vote Up Vote Down Anonymous asked 2 years ago Tweet Email Tweet Emailoutput is: 1 4 9 16 25 the total is: 55 Email * Name * you MUST enable javascript to be able to comment 1 Answers 0 Vote Up Vote Down wikistack Staff answered 2 years ago Tweet Email Tweet EmailHere is sample code #include<stdio.h> int main(){ int i = 5; int j = 1; int sum = 0; int sq = 0; while(i) { sq = j*j; printf(“%d\n”,sq); sum = sum + sq; j = j + 1; i–; } printf(“the total is %d \n”, sum); return 0;} Email * Name * Your Answer 7 + 8 = Your Email Your Name Public Only Me & Admin