Due date: Thursday, February 26, 2004.
Ex. 1 Write a program using a for loop that outputs a list of multiples of a given number. For example, the output of the program could look like this:
Enter a number
3
How many multiples of 3 do you want to output?
5
Here are the first 5 multiples of 3:
3 6 9 12 15
Hint: you'll need a variable to count the number of multiples that you output and another one to contain the multiples themselves.
Send me: Source code file containing one example of the program execution.