Home » Computer – lab work on python 2 | python | Prince George’s Community College

# Computer – lab work on python 2 | python | Prince George’s Community College

Do the following assignment. please check the attach document.

Temperature-Conversion ProgramDevelop a Python program to

• Ask the user whether to convert from celsius to fahrenheit or from fahrenheit to  celsius
• If the user enters  celsius to fahrenheit, then
• Ask the user to enter a value for  celsius
• Use the following formula to convert from  celsius to fahrenheit:
• Fahrenheit = 9.0 / 5.0 x Celsius +  32
• Display the entered value for  celsius and the calculated value for fahrenheit, along with appropriate messages
• See the attached sample program run output to see how data is displayed
• If the user enters  fahrenheit  to celsius , then
• Ask the user to enter a value for  fahrenheit
• Use the following formula to convert from   fahrenheit  to celsius:
• Celsius = (Fahrenheit − 32) x  5.0 / 9.0
• Display the entered value for fahrenheit  and the calculated value for celsius, along with appropriate messages.
• See the attached sample program run output to see how data is displayed.
• If neither fahrenheit to celsius  nor  celsius  to  fahrenheit  is entered, then
• Display an error message, such as “Illegal input data was entered.”

NOTE: When setting up the above formulas, ensure to use the right Python operators!

You need to set up a  Python solution that is  complete and  workable.

For your solution to be  complete, you must

• Prompt the user for the specific input data asked for within the problem statement
• Set up a correct formula to process the input data, arriving at the output data
• Provide the output data asked for within the problem statement to the user

For your solution to be  workable,

• Your solution should be free of any type of errors (syntax, run-time, logic)
• You may want to develop an algorithm first, using pseudocode or flowchart
• You do NOT need to turn in any algorithm

• You’ll receive full credit, if
• compiles and runs with no problems
• produces the expected output
• You’ll receive partial credit, if
• compiles and runs with no problems
• produces partial output (that is, incomplete output)
• You’ll receive 25% of the points, if your program will not compile
• You’ll receive 30% of the points, if your program compiles but has a run-time problem
• You’ll receive 40% of the points, if your program produces logic error(s)
•

## Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
\$26
The price is based on these factors:
Number of pages
Urgency
Basic features
• Free title page and bibliography
• Unlimited revisions
• Plagiarism-free guarantee
• Money-back guarantee
On-demand options
• Writer’s samples
• Part-by-part delivery
• Overnight delivery
• Copies of used sources
Paper format
• 275 words per page
• 12 pt Arial/Times New Roman
• Double line spacing
• Any citation style (APA, MLA, Chicago/Turabian, Harvard)

# Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

### Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

### Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

### Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.