Exercise Questions

  1. Write a Program that converts a user inputted temperature in Celsius to Fahrenheit.

Fahrenheit=(Celsiusโˆ—9/5)+32Fahrenheit = (Celsius * 9/5) + 32
  1. Write a Program that calculates the cost of the tip and the total cost (meal + tip) of a meal.

  1. Write a Program that calculates and outputs the midpoint of two points on a Cartesian Plane.

  1. Write a Program that outputs the number of paint cans needed, the number of paint cans leftover, and the total cost of the project.

Last updated