Ten Times

Write a program that prints the important phrase "Mr. Mitchell is cool." on the screen ten times. Use a for loop to do it.

 
Mr. Mitchell is cool.
Mr. Mitchell is cool.
Mr. Mitchell is cool.
Mr. Mitchell is cool.
Mr. Mitchell is cool.
Mr. Mitchell is cool.
Mr. Mitchell is cool.
Mr. Mitchell is cool.
Mr. Mitchell is cool.
Mr. Mitchell is cool.

If you want, you can number the lines of output like so:

 
1. Mr. Mitchell is cool.
2. Mr. Mitchell is cool.
3. Mr. Mitchell is cool.
4. Mr. Mitchell is cool.
5. Mr. Mitchell is cool.
6. Mr. Mitchell is cool.
7. Mr. Mitchell is cool.
8. Mr. Mitchell is cool.
9. Mr. Mitchell is cool.
10. Mr. Mitchell is cool.



©2013 Graham Mitchell

This assignment is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.
Creative Commons License