Jul 4th, 2014
Computer Science
Price: $50 USD

Question description


1. A customer in a store is purchasing five items. Design a program that ask for the price of each item, and then display the subtotal of the sale, the amount of sale, and the total. Assume the sales tax is 6 percent.


2. Assuming there are no accidents or delays, the distance that a car travels down the interstate can be _calculated with the following formula:

Distance =Speed x Time_

A car is traveling at 60 miles per hour. Design a program that displays the following :

  • The distance the car will travel in 5 hours
  • The distance the car will travel in 8 hours
  • The distance the car will travel in 12 hours


3. Design a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county sales tax. Assume the state sales tax is 4 percent  and the county sales tax is 2 percent. The program should display the amount of the purchase, the state sales tax, the total sales tax, and the total of the sale (  which is the sum of the amount of purchase plus the total sales tax)

use the value 0.02 to represent 2 percent, and 0.04 to represent 4 percent.


Design a program that convert Celsius temperature to Fahrenheit temperatures. The formula is as follows:

F = 9/5C+32

Tutor Answer

(Top Tutor) Daniel C.
School: Rice University

Studypool has helped 1,244,100 students

Review from our student for this Answer

Jul 4th, 2014
"Thank you, Thank you, for top quality work, this is your guy!!"
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1821 tutors are online

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors