Placeholder

CMIS 102 Assignment 6 Converting Celsius to Fahrenheit

$9.00

Description

The sixth assignment involves writing a Python program to read in the temperatures, as user input, for ten consecutive days in Celsius and store them into an array. The entire array should then be displayed. Next each temperature in the array should be converted to Fahrenheit and the entire array should be again be displayed. The formula for converting Celsius to Fahrenheit is °F = (°C × 1.8) + 32. Finally, the number of cool, warm and hot days should be counted and the number of each type of days should be displayed. You should decide on the thresholds for determining whether a day is cool, warm or hot..
Your program should include the pseudocode used for your design in the comments. Document the values you chose for the thresholds in your comments as well.
You are to submit your Python program as a text file (.py) file. In addition, you are also to submit a test plan in a Word document or a .pdf file. 15% of your grade will be based on whether the comments in your program include the pseudocode and define the values of your constants, 70% on whether your program executes correctly on all test cases and 15% on the completeness of your test report.
SCREENSHOTS
SOLUTION
PAYMENT
CMIS 102 Assignment 6 Screenshot
CMIS 102 Assignment 6 Screenshot
CMIS 102 Assignment 6 TestCases
The solution consists of:
A report word document for this assignment
All Python programs in case you want to run theses programs on your computer.
Screenshots while running programs
Attachments [Move over files to preview content of those files]
CMIS102_Assignment_6.zip (262.16 KB)
CMIS 102 Assignment 6 Report.docx
CMIS102-Assignment-6-Screenshot-1.png
CMIS102-Assignment-6-Screenshot.png
CMIS102-Assignment-6-TestCase-Screenshot.png
source code
convert.py
Preview convert.py
xxxx = []
# xxxxxxxxxx xxxxxx xx xxxx xxxx xx 0
xxxx = 0
# xxxxxxxxxx xxxxxx xx xxx xxxx xx 0
xxx = 0
# INTIALZINF NUMBER OF WARM DAYS TO 0 warm = 0 # user input for idx in range(10): # ask the user to enter temperature in Celcius temp = float(input(f’Enter temperature (in Celcius) for day {idx + 1}: ‘)) # add the temperature to array celc celc.append(temp) # Converting CELCIUS to FAHRENHEIT new_temp = round((temp * 1.8) + 32, 3) if new_temp < LOW_TEMPERATURE: cool += 1 xxxx xxx_xxxx > xxxx_xxxxxxxxxxx:
xxx += 1
xxxx:
xxxx += 1
# xxx xx
# xxx xxx xxxxxxxxxxx xx xxxxx xxxx
Price: $19
You May Also Like:
CMIS 102 Assignment 1 Salesman Weekly Pay
CMIS 102 Assignment 2 Compute Theater Ticket Price
CMIS 102 Assignment 3 Compute Cost of Carpeting a Room
CMIS 102 Assignment 4 Compute Average quiz Grade
CMIS 102 Assignment 5 Secure Password
CMIS 102 Final Project Body Mass Index

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.