Lab Assignment 1

Lab Assignment 1 - inputs yield identical outputs for perimeter and area • General requirements – Comments – User Prompts(Pgm 2 – Neat

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Lab Assignment 1 Objectives: Familiarization with Visual Studio Putting a few C++ programs under your belt Program 1: Hello, World, aka Lab1Pgm1 This prints a Hello, World message to the screen including a “from <your name>”. Program 2: Calculator, aka Lab1Pgm2 This allows the user to input two integral numbers, representing the sides of a rectangle. The two side are then output to the screen along with the perimeter and area of the square. (What
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: inputs yield identical outputs for perimeter and area?) • General requirements – Comments – User Prompts (Pgm 2) – Neat Output – Review sample output on next slide Sample Screens • User input is bolded; system output is italicized. • Pgm 1 Hello, World! from Furman Haddix. Press any key to continue . . . • Pgm 2 Enter length: 5 Enter width: 7 The rectangle is 5 by 7. The perimeter is 24. The area is 35. Press any key to continue . . ....
View Full Document

This note was uploaded on 06/28/2011 for the course CS 171 taught by Professor Ravi during the Spring '11 term at Minnesota.

Page1 / 2

Lab Assignment 1 - inputs yield identical outputs for perimeter and area • General requirements – Comments – User Prompts(Pgm 2 – Neat

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online