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

Lab Price = $7
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 Lab: 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++
Lab requirements
Create a C++ program that meets the following requirements:
1. Place documentation comments at the beginning of the source code. These comments should include the course, your name, the date, and the assignment (Lab 1). Check the style guide for this course for details.
2. Write a single statement (not three) using cout that will display the following three lines on the screen:
Your name
3. Programming Lab 1
4. The current date
5. Use cout to output a blank line to the screen.
6. Define two variables of data type int. You may name them anything you want. Initialize them to the literal values 7 and -14.
7. Output the two integer variables and their product using the following format:
7 * -14 = -98
The result must be calculated by the program and you must be outputting the values of variables or expressions – NOT hard-coded values. Note that you will be outputting a combination of variables and literals (such as ” * ” to display the multiplication symbol). If your statement has any C++ numeric literals in it (such as 7, -14, or -98), then it is incorrect.
8. Define two variables of a floating point type (float or double). You may name them anything you want. Initialize them with the literal values 78.25 and 34.3
9. Define a third variable of a floating point type (float or double). You may name it anything you want.
10. Divide the first float variable by the second float variable and store the result in the third float variable.
11. Output the floating point variables using the following format:
12. 78.25 / 34.3 = 2.2813
The result must be calculated by the program and you must be outputting the values of variables – NOT hard-coded values. Note that you will be outputting a combination of variables and literals (such as ” / ” to display the division symbol). If your C++ statement has any numeric literals in it (such as 78.25, 34.3, or 2.2813), then it is incorrect.
13. Submit your .cpp file in Desire2Learn when done.
Example run of program
Dave Klick
Programming Lab 1
2017-23-08

7 * -14 = -98
78.25 / 34.3 = 2.2813
Rubric
• 2 points: using the standard program structure and including the required comments as given in the project specifications
• 2 points: outputting your name, class and date using cout
• 2 points: defining the variables as stated above and assigning the specified values to the variables
• 2 points: doing the multiplication and division using the variables
• 2 points: displaying the multiplication and division properly using the variable values

Relevant Material
Screenshots
Lab 1: Screenshot
Lab 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 = $7
Please feel free to send us your queries at: support@iqrajavaid.com

Payment methods

Add to Cart

Buy Now

View Cart

Leave a Reply