Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. (55%) A two dimensional array (m by n) represents a stack of filing cabinets in an office. Perform the following a. (10%) Accept the

image text in transcribed
2. (55%) A two dimensional array (m by n) represents a stack of filing cabinets in an office. Perform the following a. (10%) Accept the values n and m. Verify that n is between 3 and 5 and m between 1 and 10. Fill the array with random integer number in the range of 0 to 15. Print out the array. b. (10%) Find out how many time the number p appears in the table. The number p is requested by the program and validated. Print out the answer. C. (10%) Determine how many elements contains the number 15 and how many the number 0. Print out the results. d. (10%) Find the sum of the number is column p. The number p is provided by the user. Print out the result. e. (15%) Define an array of the size of 1 by 15. Fill the array as follows: Element (1.1)

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

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

More Books

Students also viewed these Databases questions

Question

What were the issues and solutions proposed by each team?

Answered: 1 week ago

Question

3. Who would the members be?

Answered: 1 week ago