Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   C++ (https://www.askmehelpdesk.com/forumdisplay.php?f=439)
-   -   Your task is to display on screen the 'N' symbol given two data: the length and the c (https://www.askmehelpdesk.com/showthread.php?t=633420)

  • Feb 5, 2012, 09:36 AM
    drakelng123
    Your task is to display on screen the 'N' symbol given two data: the length and the c
    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
    0 0
    0 0
    00 0
    0 0 0
    0 0

  • All times are GMT -7. The time now is 07:37 PM.