Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please witre pesudo code and use java editor showing code REQUIREMENT LAB2 PART1 IF YOU DO NOT HAVE THE PSEUDO-CODE, YOU HAVE TO READ THE

image text in transcribed
please witre pesudo code and use java editor showing code
REQUIREMENT LAB2 PART1 IF YOU DO NOT HAVE THE PSEUDO-CODE, YOU HAVE TO READ THE BELOW REQUIREMENT THEN WRITE THE PSEUDO-CODE BEFORE WRITING THE CODE Add the code to the driver dass to create the application that helps Investors to calculate the money returned after a year if the investor buys a number of shares at current price of one share with the provided percentage yearly dividend The application should display message to ask users to enter their information from the keyboard about Investor name (string) number of shares (int) * price of one share (float) Percentage yearly dividend float from emple 45 for 4.50%) Where the formula to calculate the money returned is Total money invested Price of one share number of shared Total money returned total money invested total money invested percentage Display the result in the following format. The information is displayed in two columns. The information of the second column should be aligned to the right and the decimal numbers should be displayed with 2 decimal digits For example: if the name of the investor is Luis Martinez, number of share is 1200 price of one share is 21.50 and the percentae yearly dividend is 4.50%. Then, the output is as below Sharesinvestment_Martinez.java Investment Application - LUIS MARTINEZ Name of investor Number of shares Price of each share Percentage yearly dividend: Mary Lane 1200 21.50 4 SON Total money at the end of year: 26961.00 REQUIREMENT *Your program should change LUIS MARTINEZ to your name "Change Martinez to your last name *Change Mary Lane to the name of user who is using the investment Application entered from the keyboard *Write the file name as the first comment line at the top of program *After running your program, get the picture of the output window from your program with your name on to paste at the bottom of the pseudo-code to turn in

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Define Scientific Management

Answered: 1 week ago

Question

Explain budgetary Control

Answered: 1 week ago

Question

Solve the integral:

Answered: 1 week ago

Question

What is meant by Non-programmed decision?

Answered: 1 week ago