so, like, i have a new project, and i totally do not know how to even go about it. XD
QUOTE
"Project 3"
The purpose of this project is to provide you with more practice using conditional statements, loops, and methods. Your task is to write a program that allows a user to display a simple graphic shape using text symbols. Four basic shapes are allowed: box, right triange, isoceles triange, and a diamond. Each shape has two forms: filled or unfilled. The shapes are defined as follows:
B F 4 6:
******
******
******
******
B U 4 6:
******
* *
* *
******
R F 5
*
**
***
****
*****
R U 5
*
**
* *
* *
*****
I F 7
*
***
*****
*******
I U 7
*
* *
* *
*******
D F 5
*
***
*****
***
*
D U 5
*
* *
* *
* *
*
Your project should provide an interactive menu system that allows a user to select the type of object to display. The following menu items must be provided: B, R, I, D and Q. The meanings of these items are B -- box, R -- right triangle, I -- isosceles triangle, D -- diamond and Q -- quit. The letter indicates which shape to display and will always be followed by a space and a letter F or U indicating a filled or unfilled shape. Valid input can be uppercase as well as lowercase characters. All other letters entered as command inputs are considered invalid. Provide a mechanism to allow a user to recover from an error. For example, if the user enters an invalid menu item, do not terminate the program. Inform the user that an error has occurred and display messages to guide the user to select a proper menu item. If an error does occur, make sure to clear the input buffer using input.nextLine() where input is a Scanner object.
Once a valid menu item is detected, prompt the user for each parameter needed to satisfy the selected operation. Make sure to check the validity of the parameters. You may assume that a numeric value will be input when a number is expected, however the number may not be acceptable based on the limitations outlined in the table. You must give the user three (3) tries to correct their numeric input. If after the third attempt the user still has not entered valid numeric data, then return them to the main menu.
For full credit, you must use methods to display the shapes.
i dont even know how to begin with the shape printing stuff. better yet, i get an email saying that were not even allowed to use JOptionPane, so no gui.

halp!!!

edit: why didnt the spaces show up!!!!! all my shapes look ghey now
This post has been edited by jayman9: 14 Oct, 2008 - 12:47 PM