Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

How To Make A Database In Historical Studies

Authors: Tiago Luis Gil

1st Edition

3030782409, 978-3030782405

More Books

Students also viewed these Databases questions