Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please compile & execute code in Command Prompt or Terminal / DO NOT USE IDE Please Include Snipping Photo of the Whiteboard / Pseudo Code

Please compile & execute code in Command Prompt or Terminal / DO NOT USE IDE

Please Include Snipping Photo of the Whiteboard / Pseudo Code of program below for hardcoded common algorithms

Main Function: Control of operation

Class will contain the methods below and an array as the data structure.

The array will be a Class Variable

In your Class declare and fill an array with 1000 random integers between 1 - 1000 from your .txt file used in previous tasks.

Filling the array with random integers should happen in the class constructor.

***Hint: use the class constructor.

Algorithm outputs below should remain the same.

main function :

class constrctor:

Enter1.output all value:

Enter2.output sum all value:

Enter3.output All odd numbers:"

Enter4. Output All even numbers:

Enter5.Enter a search value / Implement Linear Search

Enter6.: Output Middle Value (Values in the Middle)

Not Average

Enter7. Output First Value in the Array

Enter8.Output Last Value in the Array

Enter9.Output the Highest Value and its location in the array. (Hardcode the algorithm.)

Enter10.Output the Lowest Value and its location in the array. (Hardcode the algorithm.)

Enter11. BUBBLE SORT:

please put it menu step by step and comment every line.

please do it as menu easy to understand , do not copy from people the same answer i will report 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_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

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions

Question

Define and discuss racial and ethnic stereotypes across cultures

Answered: 1 week ago

Question

Which team solution is more likely to be pursued and why?

Answered: 1 week ago

Question

4. I can tell when team members dont mean what they say.

Answered: 1 week ago