Maurice Tutor

(5)

$15/per page/Negotiable

About Maurice Tutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Algebra,Applied Sciences See all
Algebra,Applied Sciences,Biology,Calculus,Chemistry,Economics,English,Essay writing,Geography,Geology,Health & Medical,Physics,Science Hide all
Teaching Since: May 2017
Last Sign in: 408 Weeks Ago, 4 Days Ago
Questions Answered: 66690
Tutorials Posted: 66688

Education

  • MCS,PHD
    Argosy University/ Phoniex University/
    Nov-2005 - Oct-2011

Experience

  • Professor
    Phoniex University
    Oct-2001 - Nov-2016

Category > Management Posted 12 Nov 2017 My Price 8.00

MAXSIZE foan array

This program manipulates an array of integers, performing various transformations on the values within the array. For this program, there will be only one array. In your main function, define a constant MAXSIZE foan array. Please initialize the MAXSIZE to 10. Initialize the array to contain all values equal 0.A user selects a transformation to apply to the array from a menu as illustrated in the following screen shot.

The program will continue to prompt the user for a transformation until the user chooses to exit.

The transformations are described in detail below:

• 0-populate - Populate the array to contain values entered by the user, as illustrated below.• 1-cube – Cube (i.e value3) every value in the array, as illustrated below.• 2-maximum – Finds the maximum value in the array.• 3-minimum – Finds the minimum value in the array.

• 4-reverse - Reverse the values in the array, e.g., in an array of size 10 switch a[0] with a[9], a[1] with

a[8], etc., as illustrated below.• 5-clear - Clears the arrays values to zero.

• any value other than 0-5, exit - ends the program

Some constraints on the assignment are listed below.

• The menu should keep displaying until the user chooses to exit.

• Use a switch construct.

• Each transformation must be implemented as shown above

Answers

(5)
Status NEW Posted 12 Nov 2017 06:11 PM My Price 8.00

Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on-----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be-----------

Not Rated(0)