Question: How could I code something like this? Enter loan amount: 100000 // sample run 1 Enter rate: 6 Enter number years: 30 The monthly payment

How could I code something like this?

Enter loan amount: 100000 // sample run 1 Enter rate: 6 Enter number years: 30 The monthly payment is: $599.55 Enter loan amount: 10000 // sample run 2 Enter rate: 4.5 Enter number years: 3 The monthly payment is: $297.47 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!