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
ANEK [815]
2 years ago
13

write a function f to c that accepts a temperature in degrees fahrenheit and returns the temperature in degrees celsius. the equ

ation is
Computers and Technology
1 answer:
storchak [24]2 years ago
3 0

The formula used to convert between Fahrenheit and Celsius is °C = 5/9(°F - 32). The temperature in Fahrenheit can be readily converted to Celsius using the Fahrenheit to Celsius method (F to C formula).

This math tells us that 37.78 degrees Celsius is equal to 100 degrees Fahrenheit.

temp = input("Input the  temperature you like to convert? (e.g., 45F, 102C etc.) : ")

degree = int(temp[:-1])

i_convention = temp[-1]

if i_convention.upper() == "C":

 result = int(round((9 * degree) / 5 + 32))

 o_convention = "Fahrenheit"

elif i_convention.upper() == "F":

 result = int(round((degree - 32) * 5 / 9))

 o_convention = "Celsius"

else:

 print("Input proper convention.")

 quit()

print("The temperature in", o_convention, "is", result, "degrees.")

Learn more about method here-

brainly.com/question/18088056

#SPJ4

You might be interested in
How can I, fill the application form for jobs. [such as Macdonal's jobs].?
pochemuha
I don’t really understand what this question is asking 100%, but you can either walk into the McDonald’s you want to work at and ask for an application. They might give it to you, but will most likely tell you to apply online.

If they do tell you to apply online, go to the McDonald’s website and scroll all the way down to the bottom.

There are sections you can choose such as: About Us, Careers, Services, Community, and Contact Us.

Clearly you want to go to Careers.

Under Careers are: Education Opportunities, Employee Perks, Meet Our People, Working With Us, and Apply Now.

Click Apply Now and start your application.

5 0
3 years ago
The engine that runs the computer. Small computers have one, while larger computers may
Dmitrij [34]

Answer:

CPU.

Explanation:

A processor, also known as a Central Processing Unit, is a piece of hardware in a computer that performs basic operations and control when executing program code.

Processors are usually made as integrated circuits closed in a hermetic casing, often with gold-plated leads (used for resistance to oxidation) and in this form they are called microprocessors - in common speech the terms processor and microprocessor are used interchangeably. The heart of the processor is a single crystal of silicon, on which a series of semiconductor layers have been applied by means of photolithography, forming, depending on the application, a network of several thousand to several billion transistors. Its circuits are made of metals with good electrical conductivity, such as aluminum and copper.

7 0
3 years ago
You can remove selected text from a slide by pressing the CTRL+X keyboard shortcut keys.
Dmitry_Shevchenko [17]

Okayyyyyyyyyyyyyyyyyyyyy

7 0
3 years ago
Please help it would mean to world to me❤️ (WORD)
Leno4ka [110]
Its Option A - Bullets
Thank you!
6 0
3 years ago
Describe any five Morden application areas of computer​
Alecsey [184]

Answer:

Some of the application areas of computer are 

1.banking,

2.education,

3.industries,

4.entertainments,

5.hospitals,

7 0
3 years ago
Other questions:
  • When federal courts are evaluating digital evidence from computer-generated records, what exception is applied to hearsay?'
    13·1 answer
  • Microsoft windows is the least used operating system true or false?
    15·2 answers
  • What word processing feature saves you the most time when keying a document a. Thesaurus
    9·1 answer
  • Which WAN technology is designed to work with a variety of commonly used layer-2 protocols and is sometimes called a layer-2.5 t
    15·1 answer
  • _____ is a method of computing that delivers secure, private, and reliable computing experiences based on sound business practic
    7·1 answer
  • Which of these is a valid use of the Reply All feature?
    11·1 answer
  • Your computer monitor’s power switch is in the ‘ON’ position; however, the display is blank. Which of the following is NOT a lik
    5·1 answer
  • Write the following abbreviations in full next to the question number
    15·1 answer
  • Which key must be pressed in addition to clicking on a hyperlink for it to be followed?
    7·1 answer
  • How does a python programmer concatenate a numeric value to a string value?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!