Question: 1. Write a C+ program that prompts the user to enter two numbers and a character that represents an arithmetic operator. a. multiply b. t
1. Write a C+ program that prompts the user to enter two numbers and a character that represents an arithmetic operator. a. multiply b. t Addition c. Subtraction d. I division The input values are followed by the result of the operator or an error message if the character is not one of the 4 defined operators 2. Write a Ct+ program that prompts the user to enter a day represented as an integer between 1 and 7 . The input value is printed followed by the name of the corresponding day where 1 is Sunday, 2 is Monday etc. 3. Write a Ct+ program that prompt the user that calculates the heat index in degrees given the relative humidity in percent and the temperature in degrees Fahrenheit heatIndex =0.5( temperature +61.0+ (temperature-68*1.2) + Humidity*0.094)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
