Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Create a variable to hold the date, ask the user for it and store it in the created variable called DATE 2. Ask the
1. Create a variable to hold the date, ask the user for it and store it in the created variable called DATE 2. Ask the user for the temperature in Celsius, store the result in a variable called CELSIUS. Use the formula (9/5) CELSIUS+32 to get the Fahrenheit temperature and store is in a variable called FAHRENHEIT. 3. Find the value of 2A8 and store it in a variable called POWERTEST. 4. Let test1 97 and test2 90.102 and find the average, store it in a variable called AVERAGE, output it correctly to two decimal places 5. If A-4 and B-3 use the formula to find C (the hypotenuse of the triangle- 6. Ask the user to choose 1 or 2, if they say one, output Hello", if they say 2, output "Good-Bye" 7. Ask the user for a number, if it is greater than 10 output the log of the number, if it less than 10 output 2 log(number) 8. Ask the user for their full name store it in a variable called FULLNAME. 9. Ask the user for their name and age, output their name and age in one line 10. Ask the user for their favorite letter, output one letter past that (so if they tell you 'b', you should output 'c')
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started