Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

javascript please help me! Create a 2 Dimensional Array that holds integers randomly generated between 0 and 100.[ [2] The array should be 10 x

javascript please help me!
image text in transcribed
Create a 2 Dimensional Array that holds integers randomly generated between 0 and 100.[ [2] The array should be 10 x 10. (Remember not to hard code the size of the array in the loops) Create a menu method to offer user a choice to do the following: [2] Create following methods and call them in your menu method: Initialize Array to randomly assign values to the array's elements between 0 and 100 [12] Display Array - to display the content of the array [12] Sum Array - Total of all values in the array [3] Average of the Array - Uses the return of Sum Array method [13] Sum By row - Ask the user to enter a row number and then add the values in that row. You must check if the row number entered is valid [14] Sum By Column - Ask the user to enter a Column number and then add the values in that Column. You must check if the Column number entered exists. [/41 . The program must be menu driven so the user can select what they want to do. [12] The program should repeat until the user enters option number 7. (Remember you can use System.exit(0) ) 1/4) Comments and naming convention [12] Sample output to the screen: 1. Initialize Array 2. Display Array 3. Sum Array 4. Average of the Array 6. Sum By row 6. Sum By Column 7. Exit Please enter your choice

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

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions

Question

What is meant by the term labradorescence?

Answered: 1 week ago

Question

Why do HCMSs exist? Do they change over time?

Answered: 1 week ago