# this exam is due no later than tuesday march 17 th at midnight latest late submissions will not be accepted i will be running your programs so please make sure that they run correctly you can either send cpp files or send the programs in a word doc

Problem 1 Mathematical Functions and Output Write a program to do the following: ï‚· Convert from degrees Fahrenheit to Kelvin ï‚· You should be prompted to enter the temperature in degrees C and then the program will return a temperature in Kelvin ï‚· Bonus (optional) – extra 5 points if you program it to do this function a specific number of times (i.e. if you have a number of conversions to do in a row and do not want to run the program separately) Problem 2 Conditional Statements Write a program to do the following: ï‚· Calculate your pay if you are paid \$20 hourly based on working 35 hours/week. However, sometimes you work up to 50 hours per week; for the extra hours, you get \$25/hour. ï‚· Your typical work week is anywhere from 30 â€“ 50 hours ï‚· Make sure your code works for all conditions ï‚· Bonus (optional) – extra 5 points if you program it to do this function a specific number of times (i.e. if you have a number of conversions to do in a row and do not want to run the program separately) ï‚· Bonus (optional) – extra 5 points if you you add another condition to calculate your pay if you get paid \$35/hour for hours worked over 50 hours (assume that you never work more than 60 hours) Problem 3 Inclusive Write a program to do the following: ï‚· Calculates the diameter (d) of a of a circle when given its circumference (c) ï‚· Calculates the area (a) and radius (r) of the circle ï‚· You can either be prompted for this or do this automatically with 2 outputs ï‚· For reference: c = Ï€d and a = Ï€d2 /4 = Ï€r 