PDA

View Full Version : Your task is to display on screen the 'N' symbol given two data: the length and the c


drakelng123
Feb 5, 2012, 09:30 AM
Your task is to display on screen the 'N' symbol given two data: the length and the character symbol to use to draw the symbol. If the input of the user is less than 3, print "Erros: Length must be greater than 2" and ask again the user to input a valid length.

This program repeats unless the user types -1.

Sample Run:
Enter length and character: 5 0
00000
00000
00000
00000
00000