write the equivalent code for while loop format in C
Home
/
Computer Science
/
write the equivalent code for while loop format in C
write the equivalent code for while loop format in C
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
Explanation:
It is not a research question. You can find answer for these type of questions in any C/C++ text books.
However, here is the answer.
int a = 1;
while (a<=100)
{
printf("%d\n",a*a);
a++;
}