Beginner Level C++. 6 questions

The C++ questions deal with making a program that contains input values. Please use Visual Studio for compatibility. The coding needs to be at a beginner level. In other words, please do not use short cuts. It needs to be spelled out line by line so to speak. Please use “cout”, no “fprint” or anything else. Again, make the coding so a dummy can read it and understand what is happening.

Unformatted Attachment Preview

Don't use plagiarized sources. Get Your Custom Essay on
Beginner Level C++. 6 questions
Just from $13/Page
Order Essay

LAB – Input
a) Sum of two numbers: Write a program that asks for two integers
from the user and stores them in variables. Then store the sum
in a variable named result. Display your output in equation
b) Revenue Prediction: The Online Retail division of Amazon
generates a percentage of total revenue for the company. Using
on that percentage, write a program that will predict how much
revenue the retail division will generate based on the amount of
revenue Amazon reports for the year. The user will input the
total revenue and the percentage of total revenue.
Display your output in the format below:
Amazon’s Total Revenue: $[totalRevenue]M
Online Retail % of Total Revenue: [percentOfTotalRevenue]%
Online Retail’s Revenue: $[onlineRetailRevenue]M
c) Sales Tax: Write a program that will compute the total sales tax
when given a purchase amount. The user will input the purchase
amount, state sales tax percent and the county sales tax
Display your output in the format below:
Purchase Price:
State Tax %:
State Tax Amount:
County Tax %:
County Tax Amount:
Total Tax Owed:
N. Barnes
d) Restaurant Bill: Write a program that computes the tax and tip
on a restaurant bill for a patron based on the meal charge. The
user will input the tax percentage, the tip percentage, and the
cost of the meal. The tip amount should be calculated after
adding the tax amount.
Display your output in the format below:
Meal Receipt
Meal Cost:
Tax Amount:
Tip Amount:
Total Bill:
e) Average of Values: Write a program that stores five numbers in
five different variables. The user will input the five numbers.
It also stores the value 5 in a constant named TOTAL_NUM_VALUES.
The program should first calculate the sum of the five variables
and store the result in a variable named sum. Then the program
should divide the sum variable by the TOTAL_NUM_VALUES constant
to get the average. Store the average in a variable named avg.
Display your output in the format below:
The sum of the five numbers is: [sum]
The average of the five numbers is: [avg]
N. Barnes
f) Annual Pay: Write a program that defines the following
payAmount – This variable will hold the amount of pay the
employee earns each pay period.
payPeriods – This variable will hold the number of pay periods
in a year.
annualPay – This variable will hold the employee’s total annual
pay, which will be calculated.
The program should calculate the employee’s total annual pay by
multiplying the employee’s pay amount by the number of pay
periods in a year and store the result in the annual pay
variable. The user will input the number of pay periods and the
amount earned each pay period.
Display your output in the format below:
Employee’s Annual Paystub
Amount Earned per Pay Period: $[payAmount]
Total Number of Pay Periods: [payPeriods]
Employee’s Annual Pay: $[annualPay]
N. Barnes

Purchase answer to see full

Calculate your paper price
Pages (550 words)
Approximate price: -

Why Work with Us

Top Quality and Well-Researched Papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.

Professional and Experienced Academic Writers

We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.

Free Unlimited Revisions

If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.

Prompt Delivery and 100% Money-Back-Guarantee

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & Confidential

We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.

24/7 Customer Support

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Try it now!

Calculate the price of your order

Total price:

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.


Essay Writing Service

No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.


Admission Essays & Business Writing Help

An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.


Editing Support

Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.


Revision Support

If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.

Order your essay today and save 15% with the discount code DISCOUNT15