Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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:
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: 16Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started