![]() What does i represent when it is printed after the loop? And why? If m = n, the for loop will terminate because m != n is FALSE. You need to terminate the program execution manually (Ctrl C). Numbers printed are interchangeably between n and m. When we input number pairs that less than or greater than, the for loops is TRUE forever because the scanf_s() will read new different n value. Numbers are printed and the for loop been executed when the condition of m != n is TRUE. State what numbers are printed and when the loop terminates? Printf("The data m = %d and n = %d\n", m, n) Printf( "Enter an integer as count: \n") ![]() The related tutorial reference for this worksheet are: C/C program control 1 and C/C program control 2. ![]() More for/ while/ do-while loop control activities, questions and answers.C LAB WORKSHEET 7a_1 Another C
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |