Question: in Java, I need to get user input for the account number, name, and balance for account2 and also print out the information for each

in Java, I need to get user input for the account number, name, and balance for account2 and also print out the information for each account(number,name and balance) but im a little confused on how. this is what i have so far:in Java, I need to get user input for the account number,

ALCUN .BeantDE 22 File Edit Viru Navigate Source Referter Run Debug Pelle Team Tale Winslow Help 49 defaut conta Qe Seah ) Projecta X Files Services U ALLT Eal Source Pacapes . . Set Pexes Arrunt.jav x Source History - 9 + P o u Accountjeva Test Packages 3 Import java.util.Scanner E- E- Test Libraries olas Account pratit. Aceber; pubba SLELI : palso double balance prabise Aanantat A nthorber, String PATH, dorable this accountaner - account Nunes: LANC Lib une; 14 E r abisc attic void main string ari 1 be eine Antext! public atacic void win Scanner input-nex Scanner(System.in); Account accoun-1-nex Roscunt 1202, "John Smith", 1520.52) Accant... Announsil.. Account accoun3 new descunt 276, Daniel Maloon", 1956.23) Navigator Members H ALLOT - Account co u ber, Sting , double balance) Syt.ut.print("Enter your account mustus, DN, and account balance: accant2.account Number-input.nextInt ( A nt2.minus.nextString); account 2.balance input.Dext Double): corbent - See Syara ; AccounTest TIN 1: 16

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!