Study Notes
Previewing page 1 of actual document.
View the full content.View Full Document
Study Notes
0
0
11 views
Lecture Notes
- Pages:
- 4
- School:
- Prince George’s Community College
- Course:
- Cis 1130 - Introduction to C++
Unformatted text preview:
CIS 113 INTRODUCTION TO PROGRAMMING LOGIC USING THE C LANGUAGE PROJECT 2 2007 25 points Have your materials available in a folder on the due date 2 weeks Program 2 is an extension of program 1 This project will build on your first set of code The easiest way to get started is to simply make a copy of program 1 and call it program 2 By working with a copy of the previous project Program 1 the time required to type in new code for the program 2 will be reduced New concepts in Program 2 include the use of a simple loop interactive data entry and a short summary report A sample of the output is included Your output does not have to look exactly like the sample but it should include all of the basic information As in Program 1 after you have entered your source code compile it to make certain there are no syntax errors If syntax errors occur and remember they will they need to be corrected before you resubmit your program Do this over and over again until you get a clean compile COMPILE SUCCESSFUL When your program is properly compiled run your program to see whether your output is correct Because the input for the program is entered from the keyboard you must use the input data given to you in class There are three 3 records that you must process After you have executed run your program you need to hand in the following items in your folder 1 2 3 4 5 6 a listing of your source code right side of folder the results of your program right side of folder your data dictionary pseudocode and a program flowchart a print spacing chart hand calculations CIS 113 Program 2 PROGRAM SPECIFICATIONS INPUT The INPUT RECORD layout for Program 2 is listed below record has three 3 fields CAR MODEL Mustang Escort Mercedes STICKER PRICE Each AMOUNT CUSTOMER PAID 33026 13386 42036 28836 11336 38336 Note Use the above numbers in your propram Since the data is entered via the keyboard you will need to include several user prompts before you enter in each field of data Unlike program 1 where
View Full Document