assignment10

# assignment10 - solution of this problem...

This preview shows page 1. Sign up to view the full content.

/*Assignment 10: You are at a car dealer looking at a used car that is listed at \$6500. The sales person says that this is 35% less than the "Blue Book" value. Write a program to calculate the "Blue Book" value of the car. Your output should look like the following: The Blue Book value of the \$6500 car is Followed by the answer. The exact spacing of the line breaks is not critical to the
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: solution of this problem.*/ p #include<iostream> # using namespace std; u int main () i { double listprice = 6500, lessthan = .65, total; d total = listprice/lessthan; t cout << "The Blue Book value of the \$" <<listprice<< " car is \$" <<total<< "." << endl; e }...
View Full Document

## This note was uploaded on 01/11/2010 for the course CMPSC 101 taught by Professor Drobish,renee during the Summer '07 term at Penn State.

Ask a homework question - tutors are online