Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please solve the following questions 2. A Cricket tournament between various branches of the bank had been held in Muscat where each team played 4

Please solve the following questions image text in transcribed
2. A Cricket tournament between various branches of the bank had been held in Muscat where each team played 4 matches. Write an algorithm, draw the flow chart and write aC program to read the runs scored by Muscat branch in the various matches and calculate the total runs scored over 4 matches. Calculate the average runs scored by the team using while loop. 3. Read the branch names of two different accounts of the bank and do the following: a. Print the number of characters in each branch name. QEAD Rev:03 ver 01 9th July 2017 Template A FIQAP/021/001 b. c. Append the name of the bank to each branch name Compare the branch names of these two accounts and display message whether they both belong to the same branch or not. Read the account balances of 10 accounts and store them in an array. Find and print the maximum balance amount. 4. 5. Find the number of accounts that have balance above 5000 OMR by writing a function. Call the function from main and test it

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

Step: 3

blur-text-image

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

Modern Database Management

Authors: Donald A. Carpenter Fred R. McFadden

1st Edition

8178088045, 978-8178088044

More Books

Students also viewed these Databases questions