C++
Exercise #1: Write a program using if, else if, and else statements that will ask the user to input today's temperature. If the temperature is above 8e degrees, display a message saying: "It is very hot today!" If the temperature is below 4e degrees, display a message saying: "It is very cold today!" If the temperature is between 4e and se degrees, display a message saying: "It is a beautiful day outside!" Test your program with the following user input: 20 40 50 80 100 Exercise 2: Write a program for the IRS that will calculate income tax You will need as input the person's annual salary. Display a message that says: This year you paid $_ dollars in tax. So your net salary after taxes are taken out is s Format your output to two decimal places. Assume that the tax brackets in the U.S. are as follows: 1 Salary Under $12,000 $12,001 - $38,000 $38,001 - 55,000 Over $55,000 Tax Rate 6% 27% 33% 39% Extra Credit: Modify your program to factor in deductions Ask the user if he/she has any children. If they do have children, ask them how many, and calculate their new tax amount factoring in a 5% deduction per child off their pre-tax annual salary Ask the user if he/she makes student loan payments, ask how much interest was paid on the loan last year, and calculate their new tax amount by subtracting the student loan interest from the pre-tax annual salary (after child deduction) Exercise #15: Go back to Exercise #1 of last week's lab (Lab #2) where you created a Game Menu. Revise your game menu so that the user is given a choice between playing the "Choose Your Own Adventure game (this lab's Exercise #4) or the "Madlib" game (last week's lab Exercise #5). Use an if/else statement so that depending on the user's choice, the correct game will play