Professional Documents
Culture Documents
Scenario To Print: Welcome Welcome Welcome Welcome Welcome Solution: Printf ("Welcome Welcome Welcome Welcome Welcome")
Scenario To Print: Welcome Welcome Welcome Welcome Welcome Solution: Printf ("Welcome Welcome Welcome Welcome Welcome")
Main() { int i=1,n; printf(enter the table value:); scanf(%d,&n); While(i<10) { Printf(%d X %d = %d, i,n, i*n); i++; } }
To stop while loop. printf("enter 0 to quit"); scanf("%d", &response); while (response!=0) { printf("Try again!!!!!!!"); scanf("%d", &response); } Printf(u have successfully quit the program);