Question
A meteorologist wants a quick reference table that lists Celsius to Fahrenheit temperatures 0 through 20. Using a count-controlled loop write a program (temp_for.py) that
A meteorologist wants a quick reference table that lists Celsius to Fahrenheit temperatures 0 through 20. Using a count-controlled loop write a program (temp_for.py) that uses a for loop to display the table and another (temp_while) that uses a condition-based loop. Do not use any selection structures in your program.
Hint: You are not interacting with the user i.e. there are no user inputs.
NOTCE: You are not allowed to use any IF,IF ELSE or IF EIIF ELSE structures in any of your submissions.
The formula for converting a temperature from Celsius to Fahrenheit is: F = 9/5 C + 32 Sample Output:
Celsius Fahrenheit ------------------------------- 0 32.0 1 33.8 2 35.6 3 37.4 4 39.2
........
Please can I get answer for that program using python and with the instructions teacher?
These are Instructions of comments for my teacher for write this program . Please can you be following as below:
#Name: Keep Blank
#Date: Keep Blank
#Program Descriptions: Filling this part for me
# Declare and Initialize Variables: Please Write this part for me
#Get Inputs: Please write this part for me
#Begin Processing loop: Please write this part for me
#Get Outputs: Please write this part for me
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