Question: Write an application that collects information for two separate accounts for an individual Programming Assignment #1 Assignment Objective Write a Java application with a class
Write an application that collects information for two separate accounts for an individual

Programming Assignment #1 Assignment Objective Write a Java application with a class name of MyAccounts, to collect and output information on a user. Task(s) Task 1: Write an application that collects information for two separate accounts for an individual The application should prompt for the first and last name of the individual; stored in two separate 'String' variables. The application should prompt for the account information for two separate user accounts. o Account Name, stored in a 'String' variable o Account Number, stored in a 'integer variable o Account Limit, stored in a 'double' variable Account Balance, stored in a 'double' variable Task 2: Compute the average balance for the two separate accounts Task 3 Output the information for the individual user Output the first and last name separated by a comma; last name, first name Output each user account name, number, limit, balance and availability Task 4: Output the user average balance Output a rating based on the average balance o If the average account balance is below $1000, output "Awesome" o If the average account balance is below $2500, output "Good Job" o Otherwise, output "Help" Notes Do not use any loops or arrays Use the Scanner class to input values The Application should read the appropriate information from the keyboard Enter User First NameStephen Enter User Last Name Foster Enter Account 1 Name : Sears Enter Account 1 Number 192948 Enter Account 1 Limit 10000 Enter Account 1 Balance: 1575.44 Enter Account 2 Name : L wes Enter Account 2 Number: 124552 Enter Account 2 Limit : 2500 Enter Account 2 Balance: 342.76 The Application should output the data in readable format Foster, Stephen Account Sears Lowes Number 192948 124552 Limit Balance 1575.44 $ Available 8424.56 2157.24 10000.00 $ 2500.00 $ 342.76 $ Average Balance: $959.10 Awesome]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
