Question: write using java programimg Problem 1: Write a Java program that reads an annual cash flow of 10 years and calculates net present value (NPV)

 write using java programimg Problem 1: Write a Java program that

write using java programimg

Problem 1: Write a Java program that reads an annual cash flow of 10 years and calculates net present value (NPV) of the 10-year cash flows. The program must read an interest rate to calculate the NPV Use loop statement(s) and array(s) cash flow at year cash flow at year (1 + interest rate%)1 ' (1 + interest rate%)2 cash flow at year (1 + interest rate%) 10 Sample Inputs/ outputs Enter vour annual cash flow 100 Enter an interest rate 0.01 NPV 947.1305 Important Notes Assumed that the user makes mistake sat most once while entering the data, i.e. he/she enters the correct value the next time right after being warned

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 Databases Questions!