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: Types of all variables: -The number of rows of pyramid: int -The set of printed characters: String -Type of pyramid: int Classes: Driver Properties: none Methods : -main method: get the inputs and use pyramid class to draw pyramid Pyramid Properties: -type: int -characterSet: String -numberOfRow: int Methods: -Get/set methods for each properties -Draw(): draw the pyramid In the draw method, each row is draw iteratively. In each row, print the characters and blank space. The width of each row is 2*numberOfRow -1. Grade: Analysis and Design: 7 points for each Implementation: 16 points Compile without error: 3 points Comment: 2 Minus: No hard copy or soft copy: -5 No staple: -2...
View Full Document
This note was uploaded on 02/21/2010 for the course CIS 3022 taught by Professor Dobbins during the Spring '08 term at University of Florida.
- Spring '08
- Computer Programming