Write a program

  • Write a program that prompts the user for a radius and then prints
    • The area and circumference of a circle with that radius
    • The volume and surface area of a sphere with that radius
  • E2.8 Write a program that asks the user for the lengths of the sides of a rectangle. Then print
    • The area and perimeter of the rectangle
    • The length of the diagonal (use the Pythagorean theorem)
  • E2.9 Improve the program discussed in How To 2.1 to allow input of quarters in addition to bills.
  • E2.10 Write a program that helps a person decide whether to buy a hybrid car. Your program’s inputs should be:
    • The cost of a new car
    • The estimated miles driven per year
    • The estimated gas price
    • The efficiency in miles per gallon
    • The estimated resale value after 5 yearsCompute the total cost of owning the car for five years. (For simplicity, we will not take the cost of financing into account.) Obtain realistic prices for a new and used hybrid and a comparable car from the Web. Run your program twice, using today’s gas price and 15,000 miles per year. Include pseudocode and the program runs with your assignment.

Place Order
Grab A 14% Discount on This Paper
Pages (550 words)
Approximate price: -
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Try it now!

Grab A 14% Discount on This Paper

Total price:
$0.00

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.