subject
Engineering, 27.11.2019 21:31 iiwolfiexuni

Void showloanrepayment(double amount, double payment, double rate) this function loops to show the loan being repaid and keeps track of the number of months it takes to do so. before the loop, it initializes the balance to the loan amount and months to zero. within the loop, it calculates the interest portion of each monthly payment, the principal portion of the payment, and the new balance with formulas: interest = balance * rate; principal = payment - interest; balance = balance - principal; it continues to loop while the balance is greater than zero. after the loop, it prints the number of months it took to repay the loan. void println parameters(double amount, double payment, double rate) this function prints the current loan parameters in two formatted columns. it is called after any loan parameter is changed (amount, payment, or rate), and before any loan repayment output. before printing the parameters, change the precision to 4. after printing the parameters, change the precision back to 2.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 03.07.2019 14:10
If the thermal strain developed in polyimide film during deposition is given as 0.0044. assume room temperature is kept at 17.3 c, and thermal coefficient of expansion for the film and the substrate are 54 x 10^-6c^-1 and 3.3 x 10^-6c^-1respectively. calculate the deposition temperature.
Answers: 3
question
Engineering, 04.07.2019 18:10
What difference(s) did you notice using a pneumatic circuit over hydraulic circuit.explain why the pneumatic piston stumbles when it hits an obstacle.
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
You are making beer. the first step is filling the glass carboy with the liquid wort. the internal diameter of the carboy is 15 in., and you wish to fill it up to a depth of 2 ft. if your wort is drawn from the kettle using a siphon process that flows at 3 gpm, how long will it take to fill?
Answers: 1
You know the right answer?
Void showloanrepayment(double amount, double payment, double rate) this function loops to show the l...
Questions
Questions on the website: 13722359