Activity 4.5.
Please print a multiplication table (for multiplication by 7) to the screen, in the following form:
1 x 7 = 7
2 x 7 = 14
3 x 7 = 21
4 x 7 = 28
5 x 7 = 35
6 x 7 = 42
7 x 7 = 49
8 x 7 = 56
9 x 7 = 63
10 x 7 = 70
Be sure to use a loop here, do not write 10
printf() statements...
As a reminder, here is the format of a
for-loop that runs 10 times:
int i; /* a variable, for example by the name of i, is needed */
for (i=1; i<=10; i++) {
/* code that needs to be repeated goes here */
}
i successively gets assigned values from 1 to 10. In the first run through the loop i has the value 1, in the next run-through that value is increased to 2, then to 3, all the way up to and including 10.
When you are done, please put your code into the box below:

