Create a comment block with the following information: Your Name Course Name, Section (example: ENTD200 B002 Spr15) Instructor name Week # Date completed 2. Problem 1: Write a program that will perform the following 3 operations over and over in a loop and stop after the condition has been met. Do not declare any auxiliary variables. Use only a, b, and c. Operations: a=number of loops (start with zero) b=a+1 c=a+b Condition: If c is less than 5, then the loop will continue; else, it will end. 3. Print a string variable that states the number of loops required to meet the condition for Problem 1. Do not print anything else.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 1 | 2 | 3 | 4 | 5 |