Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Write a program that declares and initializes a variable representing a made-up temperature in Fahrenheit The program will print to the screen both the

image text in transcribed
image text in transcribed
1. Write a program that declares and initializes a variable representing a made-up temperature in Fahrenheit The program will print to the screen both the Fahrenheit temperature and the equivalent Celsius temperature. For example, if temperature is set up to 36.5, a sample program output would be: Temp in Fahrenheit: 36.5, Temp in Celsius: 2.5 2. Write a program that will ask the user to enter the total number of seconds. The program will print the number of hours, minutes and seconds. For example, if the numbers of seconds entered is: 4487: the output will be: 1 hour, 14 minutes, 47 seconds Criteria Ratings Pts Fahrenheit temperature declaration and initialization Conversion to Celsius and printing both temperatures to the screen \begin{tabular}{l|l} 10 pts & 0 pts \\ Full Marks & No Marks \end{tabular} 10pts 15pts Input for seconds Correct output for problem 2 Successful compilation Proper indentation Total Points: 100

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

9th Edition

B01JXPZ7AK, 9780805360479

More Books

Students also viewed these Databases questions