Question: I do not know what to do. I need a way for the program to determine if the account is a savings or checking, then
ain.javaG public static void nain (Stringtl args) int userBankAccNum- 0 /Did 1st int uestBenkkcc getInput ("Enter bank account nunber below:"): //Did 2nd sending a call to method 'getInput', also sending it a message to display vithin the method. Last I set ay getInput call equa.l to int userBandAccNum to initialize my variable appropriately with the user's String acctyes getImputAccType("Please type one of the followingan"+ -to select your account type.nn "s or S for Savings "+ "c or C for Checkingt)? //Did eth, sinilar to 2nd step public static int getInput (String message) 1/Did 3rd int inputAccNum; //Did 4th inputAccum Integer.pazse Int (30ptionPane. ahowInputbialog(null, message, "Bank Account Number")): /Did 5th return inputAccNun: /Did 6th The integer value that this method returns to main vall be stared in int Main main0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
