Thread: Help please

  1. #1
    Registered User
    Join Date
    Jul 2012
    Posts
    5

    Help please

    Program 1
    Develop a program that will input the two (distinct) sides of a rectangle, and then compute and display its perimter and area

  2. #2
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675

  3. #3
    young grasshopper jwroblewski44's Avatar
    Join Date
    May 2012
    Location
    Where the sidewalk ends
    Posts
    294
    input two numbers from stdin

    think of a method that will let you display the image(outline) of a rectangle by printing chars to the screen using the two numbers given by the user

    cleanup and ask the user if they would like to run it again. if not, exit cleanly.

    hint: use for loops

Popular pages Recent additions subscribe to a feed