ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

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

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 23 Apr 2017 My Price 8.00

array in C++.

Hi Mr.Ashish, I have an assignment need you to help relate to array in C++.

 

CPP Exam Lab 02Spring 2017Arrays and FunctonsThis program will process mon±hly precipi±aton amoun±s and user reques±s.1.This program will process arrays of da±a ±o provide informaton ±o ±he user.2.Crea±e 5 functonsa.queryUser();i.prompts the user for an action and then returns an integer based on user choice1 to print all2 to calculate diFerences and print all3 to see a single month4 or more to quitb.processQuery (intquery,stringmonth[],doubleactual[],doubleaverage[],intsizeOfArrrays);i.checks the user query and calls a function based on the queryii.Use aswitch case1 calls printAllArrays2 calls calcAllDiFerences3 calls displaySingleMonthc.printAllArrays (stringmonth[],doubleactual[],doubleaverage[],intsizeOfArrrays);i.prints all the data in table form (see sample run)d.calcAllDiFerences (stringmonth[],doubleactual[],doubleaverage[],intsizeOfArrrays);i.calculates the monthly diFerence for each entry:actual - averageii.prints all the data in table form including the diFerence (see sample run)e.voiddisplaySingleMonth (stringmonth[],doubleactual[],doubleaverage[]);i.asks the user for a month to display (1 – 15)ii.remember these arrays are addressed 0 – 14iii.calculates the selected month diFerenceiv.prints the data in a single line form including the diFerence (see sample run)3.the main function willa.Crea±e 3 arrays…use ±he da±a from ±he char± belowi.Mon±h will hold ±he mon±h as a s±ringii.Ac±ual Rainfall will hold ac±ual rainfalliii.Average Rainfall will hold ac±ual rainfallOHRiley4/19/2017 11:27 a4/p4

Attachments:

Answers

(11)
Status NEW Posted 23 Apr 2017 03:04 PM My Price 8.00

-----------

Attachments

file 1492962729-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)