Answered step by step
Verified Expert Solution
Question
1 Approved Answer
f 1 . ( HOTCOLD ) The table lists the freezing and boiling point of several substances. Create a program that will accept a temperature
fHOTCOLD The table lists the freezing and boiling point of several substances. Create a program that will accept a temperature as input. It should output all substances that will freeze or boil at that temperature. For example, at a temperature of the program should report that water will freeze and that oxygen will boil.
Substance Freezing Point F Boiling Point F
Ethyl Alcohol
Mercury
Oxygen
Water
points correct input
points correct output each substance at any temperature
WIDGET The XYZ company sells only one product called the Widget. Create a program that will accept the number of widgets a customer wants to buy and output the total cost of the order. The cost of a single unit is dollars. For to units the cost per unit is dollars. For to units the cost per unit is dollars. For and over the cost is only dollars per unit.
points correct output for each of the discount levels
points user friendly input output
DROP Write a grading program that will accept a student name and three numeric grades as input. Grade values should be between and It should output the name and grade average. The program should drop the lowest grade.
points correct inputs
points correct average output
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started