Working on your own, complete the following programming exercises. Please be sure to review the Programming Guidelines and Scoring
document before starting work on the assignment.
- Write a program that prompts for the user’s name and then greets the user by name. For example,
What’s your name? Jim
- Write a program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the food and then calculate the amount of an 20% tip and 5% meal tax. Display each of these amounts and the total.
- Write a program that converts Fahrenheit temperatures to Celsius. The formula is given below.
C = (F – 32) Ã— 5â„9
The program should prompt the user to enter a temperature in Fahrenheit and then display the temperature converted to Celsius.