0
how to print once time using while loop in c program?
#include<stdio.h> int main() { int total,pass_students,fail_students; total=10; pass_students=9; fail_students=1; while (pass_students>=8){ printf("Bonus to instructor"); pass_students++; } } output:bonus to instructor.........................................................................................................................
1 Answer
0
int count = 1;
while (count == 1)
{
printf("I will say this only once!\n");
count--;
}