Question: I need help making a psuedocode for the program:import java.util.Scanner; public class Exercise 0 2 _ 2 1 { public static void main ( String
I need help making a psuedocode for the program:import java.util.Scanner;
public class Exercise
public static void mainString args
Scanner sc new ScannerSystemin;
ask the user to enter the investment amount
System.out.printEnter investment amount: ;
double investmentAmount scnextDouble;
ask the user to enter the annual interest rate
System.out.printEnter annual interest rate in percentage: ;
double annualInterestRate scnextDouble;
ask the user to enter number of years
System.out.printEnter number of years: ;
int numberOfYears scnextInt;
calculate the monthlyInterestRate
double monthlyInterestRate annualInterestRate ;
calculate the futureInvestmentValue
double futureInvestmentValue investmentAmount Math.pow monthlyInterestRate, numberOfYears ;
display the future amount
System.out.printfFuture value is $fn futureInvestmentValue;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
