CIS 150 Assignment 1: Input, output, calculations – With Fully commented C++ Code – Perfect Solution – Instant Delivery

Lab Price = $8
Please feel free to send us your queries at: support@iqrajavaid.com
Payment methods

Add to Cart

Buy Now

View Cart


Problem Statement

CIS 150 Programming Project: Input, output, calculations
Objectives
• Create a working C++ program
• Declare and use variables
• Use cout to display literals
• Use cout to display variable values
• Perform simple calculations using C++
Program requirements
1. Include documentation comments at the start of the file.
2. Follow the course style guidelines including indentation, naming conventions, spaces instead of tabs, etc.
3. Declare five floating point variables for five scores that will be entered. Initialize them all to 0.0.
4. Declare a string variable to hold a name that will be entered. Initialize it to a zero length string.
5. Declare a floating point variable that will hold the average score. Initialize it to 0.0.
6. Prompt the user for five scores, get them and store them for later. They should be floating point values.
7. Prompt the user for their name and store it for later. Names including spaces must be accepted properly. Check the getline function for details on getting complete names and using cin.ignore() to eliminate extra newlines cin leaves behind in the input buffer.
8. Calculate the average score and display it in a personalized message to the user which includes their name (see the example runs for details).
Example run
Enter score #1: 65
Enter score #2: 72
Enter score #3: 87.5
Enter score #4: 91.3
Enter score #5: 69
Enter name: Chauncey Gardener
The average score for Chauncy Gardener is 76.96
Rubric
• 3 points: Proper documentation comments
• 5 points: Follows style guidelines used in class (proper indentation, no tabs, variable names start with lowercase letter, etc.)
• 3 points: Variables properly declared and initialized
• 4 points: Five scores properly prompted for and gotten from the user
• 2 points: User input is done on the same line as the prompts
• 2 points: Newline at end of last score entered properly dealt with before full name entered
• 3 points: Full name properly prompted for and gotten from the user
• 4 points: Average calculated properly
• 4 points: Output message displays name and average (with any needed digits after the decimal point) correctly

Relevant Material
Screenshots
Assignment 1: Screenshot
Assignment 1: Screenshot
Instructions
* If you want to purchase multiple products then click on “Buy Now” button which will give you ADD TO CART option.Please note that the payment is done through PayPal.
* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at support@iqrajavaid.com.
* As soon as the payment is received, download link of the solution will automatically be sent to the address used in selected payment method.
* Please check your junk mails as the download link email might go there and please be patient for the download link email. Sometimes, due to server congestion, you may receive download link with a delay.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at support@iqrajavaid.com and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* In case of any query, please donot hesitate to contact us at support@iqrajavaid.com.
* MOST IMPORTANT Please use the tutorials as a guide and they need NOT to be used for any submission. Just take help from the material.
******************************************** Good Luck ***************************************************
Privacy Policy
We take your privacy seriously and will take all measures to protect your personal information.
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
Refund Policy
Incase you face any issues with the tutorial, please free to contact us on support@iqrajavaid.com
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.
Payment Details
Lab Price = $8
Please feel free to send us your queries at: support@iqrajavaid.com

Payment methods

Add to Cart

Buy Now

View Cart

Leave a Reply