subject
Engineering, 12.12.2019 00:31 gustinya000

The program asks the user if they have preregistered for art show tickets. if the user has preregistered, the program should call a function named discount() that displays the message "you are preregistered and qualify for a 5% discount." if the user has not preregistered, the program should call a function named nodiscount() that displays the message "sorry, you did not preregister and do not qualify for a 5% discount." the source code file provided for this lab includes the necessary input statement. comments are included in the file to you write the remainder of the program.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
During a steady flow process, the change of energy with respect to time is zero. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:10
For the closed feedwater heater below, feedwater enters state 3 at a pressure of 2000 psia and temperature of 420 °f at a rate of ix10 ibhr. the feedwat extracted steam enters state 1 at a pressure of 1000 psia and enthalpy of 1500 btu/lbm. the extracted er leaves at an enthalpy of 528.7 btu/lbm steam leaves as a saturated liquid. (16) a) determine the mass flow rate of the extraction steam used to heat the feedwater (10) b) determine the terminal temperature difference of the closed feedwater heater
Answers: 3
question
Engineering, 04.07.2019 18:10
Ajournal bearing has a journal diameter of 3.250 in with a unilateral tolerance of 20.003 in. the bushing bore has a diameter of 3.256 in and a unilateral tolerance of 0.004 in. the bushing is 2.8 in long and supports a 700-lbf load. the journal speed is 900 rev/min. find the minimum oil film thickness and the maximum film pressure for both sae 20 and sae 20w-30 lubricants, for the tightest assembly if the operating film temperature is 160°f. a computer code is appropriate for solving this problem.
Answers: 3
question
Engineering, 04.07.2019 18:10
An air compression refrigeration system is to have an air pressure of 100 psia in the brine tank and an allowable air temperature increase of 60°f for standard vapor compression cycle temperatures of 77 f entering the expansion cylinder and 14 f entering the compression cylinder, calculate the coefficient of performance a. 2.5 b 3.3 c. 4.0 d. 5.0
Answers: 3
You know the right answer?
The program asks the user if they have preregistered for art show tickets. if the user has preregist...
Questions
question
Mathematics, 29.09.2020 01:01
question
Mathematics, 29.09.2020 01:01
question
Mathematics, 29.09.2020 01:01
question
Mathematics, 29.09.2020 01:01
Questions on the website: 13722360