Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

CIS 125 Homework #3 Please submit your pseudocode/flowchart in a Word or PDF file format. For the programs, please submit your completed program in 2 Zipped files with all of your python code within....

1 answer below »
CIS 125 Homework #3
Please submit your pseudocode/flowchart in a Word or PDF file format. For the programs, please
submit your completed program in 2 Zipped files with all of your python code within.
50 Points Total
Chapters 3 and 6 – Modules and Functions (25 Points Each)
Directions (Read CAREFULLY and follow COMPLETELY):
• Create the following programs in python that perform the purpose described and show the
sample output (with user input where applicable).
• Include at least three lines of comments
emarks in each program, including your name, the
date, and a description of the program.
• Upload your zipped source files to Moodle for each of the programs listed.
• Add to Homework 3’s Word file the output of your programs and the screenshots of the run.
• Add pseudocode or a flowchart for ONE of the two programs below and add it to your
Word/PDF document.
• Be sure to adhere to the college and course academic honesty policy.
1. Prompt the user for a Fahrenheit temperature in the main part of the program, then pass this
value to a user-defined module/function which will convert it to Celsius and professionally
display the Celsius conversion.
Celsius = (5/9) * (Fahrenheit – 32)
In other words, the input will occur in the main portion of the program and the process to
convert the temperature and output the results will occur in the module (or function). Your
program should run like this (round the Celsius result down to two digits to the right of the
decimal and display both temperatures):
Enter Fahrenheit temperature to convert: 100
XXXXXXXXXXFahrenheit is equal to 37.78 Celsius
2. Create a program that will calculate the amount of change to give back in amounts less than a
dollar. In the main, ask the user to enter how much money (in cents as a whole number (int))
they need to receive change for. Pass this amount to function that will calculate and output
the co
ect change, using the most quarters possible first, then the most dimes, the most
nickels and finally any pennies required. Hint: Use the Modulus and division operators. Here
are two sample runs of the program:
Sample Runs:
Please enter the number of cents: 26
Number of quarters: 1
Number of dimes: 0
Number of nickels: 0
Number of pennies: 1
Please enter the number of cents: 98
Number of quarters: 3
Number of dimes: 2
Number of nickels: 0
Number of pennies: 3
Answered Same Day Oct 01, 2021

Solution

Vaibhav answered on Oct 02 2021
137 Votes
PythonAssignment/cis-125-homework-3-fall-2021-111-pe0jjawh.pdf
CIS 125 Homework #3
Please submit your pseudocode/flowchart in a Word or PDF file format. For the programs, please
submit your completed program in 2 Zipped files with all of your python code within.
50 Points Total
Chapters 3 and 6 – Modules and Functions (25 Points Each)
Directions (Read CAREFULLY and follow COMPLETELY):
• Create the following programs in python that perform the purpose described and show the
sample output (with user input where applicable).
• Include at least three lines of comments
emarks in each program, including your name, the
date, and a description of the program.
• Upload your zipped source files to Moodle for each of the programs listed.
• Add to Homework 3’s Word file the output of your programs and the screenshots of the run.
• Add pseudocode or a flowchart for ONE of the two programs below and add it to your
Word/PDF document.
• Be sure to adhere to the college and course academic honesty policy.
1. Prompt the user for a Fahrenheit temperature in the main part of the program, then pass this
value to a user-defined...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here