Question: ion 3 (18 Points) a Java program a program that prompts the user to enter profits for 4 branches for a bank t profit, where

 ion 3 (18 Points) a Java program a program that prompts

ion 3 (18 Points) a Java program a program that prompts the user to enter profits for 4 branches for a bank t profit, where col print produ tion need to be stored in a 2D array (4x12) named Write t branches. Then, the program should months and rows represent iehes numbers and number of productive branches branches aum A branch is considered productive Please follow the same format as shown in the output below For example, for 12 Months 1000T 10001 1000110001100011000 100011000 10001 1000 Branch 2 8000 0 1000 1000 1000 1000 1000 1000 1000 10 B ch 4100011000110001000110001100011000 Enter profits for branch No.1: 1000 1000 1000 1000 100e 100e 10ee 1000 1000 1000 1e 10 Enter profits for branch No.2: Enter profits for branch No.3: e 1000 100e 100 10e 1e0e 1ee0 100 10ee 1000 10 10 Enter profits for branch No.4 1800 1080 1000 1000 100 1e0 100 1e0 1000 1000 1000 18 Branch No.1 is productive Branch No.4 is productive Number of productive branches: 2 import java.util.Scanner public class bankDemo f public static void main(Stringl ] args) f

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!