+1 (315) 557-6473 

Creating loops in C language

Looping in C language has always proven difficult for many students. We can guide you through the process of loop creation. All you need to do is contact our C programming experts.


Create a program that asks the user to enter a number from 1 to 9

Print the statement “FAAU Owls – Hoot Hoot” the number of times entered by the user using a while loop.

Print the statement “Programming is fun” the same number of times using a for loop.

Print the statement “Florida beaches are beautiful” the same number of times using a do/while loop. 






int main()



printf(“Please enter a number from 1 to 9= “);

scanf(“%d”, &num);

int counter = 1;

while (counter <= num) {

printf(“FAAU Owls – Hoot Hoot \n”);



for (counter = 1; counter<= num; counter++) {

printf(“Programming is fun \n”);


counter = 1;

do {

printf(“Florida beaches are beautiful \n”);

counter ++;

} while (counter <= num);

return 0;