This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Start with a program that give the top half only. Write a program that gives a "triangle" first, where each row is not centered, but is left justified. Issues / Ideas: 09-13 Class Notes CS 107 Monday, September 13, 2010 2:54 PM 107 Fall 2010 Page 1 Write code that prints out a single asterisk. Put that code in a loop, so I can choose how many asterisks appear on a line. Put a loop around *that* (the line above) so that I can print out yon triangle After we have that, THEN we can worry about centering each line, and then we can print the center line, and then do the same thing in reverse, to print the bottom half. See the code done in class to illustrate the above concepts. 107 Fall 2010 Page 2...
View Full Document
This note was uploaded on 02/10/2012 for the course COP 2271 taught by Professor Reed during the Fall '10 term at University of Central Florida.
- Fall '10
- Computer Programming