1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Degger [83]
3 years ago
14

Write a program that will convert a set of temperatures from Fahrenheit to Celsius and Kelvin. Your program will be reading in t

hree double values. The first values are starting and ending temperatures. The third value is the increment value. There is no prompt for the input. There is an error message that can be displayed.
Computers and Technology
1 answer:
Marat540 [252]3 years ago
7 0

Answer:

start = float(input())

end = float(input())

increment = float(input())

if start <= end and increment > 0:

   print("Fahrenheit \t Kelvin \t Celsius")

   for f in range(int(start), int(end), int(increment)):

       k = 5.0/9.0 * (f - 32) + 273.15

       c = (f - 32) / 1.80

       print("%.2f" % f + "\t\t" + "%.2f" % k + "\t\t" + "%.2f" % c)

else:

   print("Invalid input!")

Explanation:

The code is in Python.

Let the user enter three values, start, end, and increment

Check the values. If start is smaller than or equal to end and increment is greater than zero:

Create a for loop that iterates between start and end with the increment value. Convert each of the value to kelvin and celsius using the formulas. Print the each value.

Otherwise, print invalid input

You might be interested in
Are technical skills or people skills more important to the team manager in a software development project?
VladimirAG [237]

Answer:

A well-rounded team manager in a software development project is critical to its success. Having the best developers only gets you so far. Without proper leadership, the project will most likely fail. Developers won't know what direction to go, deadlines won't be met, and the end product will not be created to the specifications as set forth in the project. A software development team manager needs to possess both the proper technical skills to guide the developers when they get stuck, but more importantly have the proper people skills and business process skills to allow the team to work as a well-oiled machine. In this paper, we will look at two different types of team managers and how they affect the software development lifecycle.

5 0
4 years ago
Read 2 more answers
ANSWER QUICKLIY
lidiya [134]

Answer:

Explanation:

Allow you to view the document in different ways. Sorry if I am wrong. I am dumb

God bless, stay safe, and good luck! :)

4 0
3 years ago
Read 2 more answers
Unused neural connections in the brain are reduced through a process of
OLEGan [10]

Answer:

Pruning or remodeling

Explanation:

The brain is the major control system of animals. It acts just like the processor in a computer system. Brain development starts before childbirth and progresses to adulthood.

During the first few year of life, the neural and synapse connection multiply by millions, when the brain is mature enough, the brain begins to cut off connections of synapses, neurons and axons that are not used through the process called pruning or remodeling, which is very vital for brain development.

6 0
3 years ago
What is the difference between the Paste Special and Paste Link options?
kotegsom [21]
Paste Link lets you automatically update the referenced document.
8 0
4 years ago
Read 2 more answers
Sites like Zillow get input about house prices from a database and provide nice summaries for readers. Write a program with two
qaws [65]

Answer:

Se explaination

Explanation:

/Declaring variables

integer currentPrice

integer lastMonthPrice

integer changeLastMonth

float mortagage

//Reading input

currentPrice = Get next input

lastMonthPrice = Get next input

//Calculating price change

changeLastMonth = currentPrice - lastMonthPrice

//Calculating mortagage

mortagage = (currentPrice * 0.051) / 12

//Printing output

Put "This house is $" to output

Put currentPrice to output

Put "\nThe change is $" to output

Put changeLastMonth to output

Put " since last month." to output

Put "\nThe estimated monthly mortgage is $" to output

Put mortagage to output

3 0
3 years ago
Other questions:
  • When creating a software package, the software must be designed, the code must be written, and then the code must be tested. Thi
    6·1 answer
  • How do you take a screen shot on hp pavilion dm3
    12·1 answer
  • 10. How does a command work in conjunction with a switch?
    14·1 answer
  • nside of your organization that checks how often client machines access it. If a client machine hasn't accessed the server in th
    6·1 answer
  • What kind of sampling does a quasi experiment use?
    11·1 answer
  • Identify which statement explains why a programmer would break a logic problem into steps.
    13·2 answers
  • Using the phase plane program described in the introduction, plot the phase plane for the Lotka-Volterra model Here represents t
    8·1 answer
  • Dad Mystery
    9·2 answers
  • Which of the following uses the proper syntax for creating an HTML comment?
    8·1 answer
  • _______ is a very common approach to multisystem authorization.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!