Zookal
Zookal

We’d love to hear any feedback or comment from you!

© 2011-2021 Zookal Pty Ltd

View question and answer

From our collection of questions and answers
Engineering · Computer Science
Question details

I am in intro to c++ and I'm lost on this homework problem. Please help!! monthly payment can be any number

19. In this exercise, you will modify the car payment program from Lab 9-2. If necessary, create a new project named Intermediate19 Project, and save it in the Cpp8MChap09 folder. Copy the instructions from the Lab9- 2.cpp file into a source file named Intermediatel9.cpp. (Alternatively, you can enter the Enstructions from Figure 9-34 into the Intermediate 19.cpp file.) Change the filename in the first comment. Make the modifications listed in Figure 9-39. Test the program appropriately. Betore calculating a payment, verify that the denominator in the not the number the return payment formula number negative number payments, displa the program should also ng two amounts the follo user will pay for the car if the loan is nnanced through The total amount the the the car if the Loan is financed through total amount the user will pay for the car dealer. Figure 9-39 HOW TO Use the pow Function Syntax Pow(x, y) Example 1 b 7e be be The assignment statement assigns the number 64.0. which is 4.o raised to the third Power, to the cube Example 2 O. S pow C2.oo. O di is equivalent to find 1 oo raised to root of the number 1 OO the r. The powe g the square SD expression is Example 3 doubl rad i Crad i 2 The assi t then mul stored in the rad variable to the secona plies the 25 and assigns th e product (78.5) to Powel r, giving 25.0 the area variable Figure 9-2 How to use the pow function Lab 9-2 cpp disp Tays two monthly car payments 2 //created revised by -your On Current date 4 include i ostream: S wi nac1 ude at h 6 wi nclude i oman i p:- 7 using namespace std 9 function prototype the na 10 doub e get Payment Cint doubTe of the form int 11 not req 12 int main 13 14 int ca r Price 1S int rebate 16 double credit Rate O. O 17 double dealer Rate O. O 18 int term 19 double credit Payment O. O 20 double dealer Payment O. O 21 22 Car price Gafter in any trade 23 Ca r Price 24 Rebate 2S cin rebate 26 Credit Cout union rates 27 cin Credit Rate 28 cout Dealer rate 29 cin dealer FRate 30 Term in years 31 cin term 32 33 //call function to calcuTate payments 34 credit Payment get Payment CcarPri ce rebate 35 Credit: Rate 12 w 12 Term 36 dea7 en Payment get Payment: CcarPrice, 37 dea ner Rate 12 12 term 38 39 display payments 40 fixed setprecisionC2D Cout end 41 Credit Court union payment 42 Credit Payment end 43 Court Dealer payment 44 dealer Payment end 45 return o Figure 9-3-4 Car payment program (continues)

Answer
Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.

Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.