Wednesday, June 1, 2016

Starting Out with C++, 8th Edition Early Objects 8th Edition Solutions Chapter 2 (1 to 3)

Problem 1:


Sum of Two Numbers






Download Source Code:Click Here



Output:





Problem 2:

Sales Prediction:
The East Coast sales division of a company generates 62 percent of total sales.
Based on that percentage, write a program that will predict how much the East
Coast division will generate if the company has $4.6 million in sales this year.
Display the result on the screen.






Download Source Code:Click Here


Output:












Problem 3:

Sales Tax

Write a program that computes the total sales tax on a $52 purchase.
Assume the state tax is 4 percent and the county sales tax is 2 percent.

Display the purchase price, state tax, county tax, and the total tax on the screen.




















Download Source Code:Click Here


Output:



No comments:

Post a Comment