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

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 depending on the selection assign the account numbers with each of the corresponding balances listed on the assignment. Then I need to incorporate if and else statements determiningwhether the account accrued intested or was charged a service fee.
 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 depending on the selection assign the account numbers with each
of the corresponding balances listed on the assignment. Then I need to
incorporate if and else statements determiningwhether the account accrued intested or was
charged a service fee. ain.javaG public static void nain (Stringtl args) int

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

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!