1 answer

Help with Flowgirthim . Use the flowgorithim app to answer. In this program you find the...

Question:

Help with Flowgirthim . Use the flowgorithim app to answer.

In this program you find the average of an array. You will need 4 functions in total. Main function: Just call the other functions and declare an empty array of size 5. Output the sum of the array, the average of the array, and output the array. inputArray(real array): Prompt the user for input and store information in the array and return the array. Make sure you make the parameter an array and return variable array. parameters: real Array myArray[]

returns: none name: inputArray sumArray(real array): Find the sum of the array that is passed and return the sum. parameters: real Array myArray returns: real sum name: sumArray averageArray(real array) function: Find the average of the array and returns the average of the array. You can use another function to help solve this problem (hint hint). parameters: real Array myArray returns: real average name: averageArray outputArray(real array) function: Output each element of the array. This function does not return a value. parameters: real Array myArray returns: nothing name: outputArray


Answers

PLEASE NOTE : FEEL FREE TO ASK ANY DOUBTS by COMMENTING

Software : FLOWGORITHM

::::::::::::::::::::::::::::::::::::: BLOCKS & NAMES :::::::::::::::::::::::::::::::::

Clipboard Miscellaneous Comment Breakpoint Statement Input/Output Variables Control Looping Input Declare If While Output Ass

::::::::::::::::::::::::::::::::::::: FLOGARITH FLOWCHART :::::::::::::::::::::::::::::::::

Main

Array - Flowgorithm х File Edit Program Tools Help Main Main Real Array myArray[5] inputArray(myArray) Output Sum: &sumArra

inputArray

Array - Flowgorithm х File Edit Program Tools Help inputArray inputArray (Real Array myArray) Integer i Next i = 0 to 4 Done

sumArray

- x Array - Flowgorithm File Edit Program Tools Help NII sumArray sumArray (Real Array myArray) Real sum sum = 0 Integer i Ne

averageArray

- х Array - Flowgorithm File Edit Program Tools Help NU averageArray averageArray (Real Array myArray) Real average Real sum

outputArray

- X Array - Flowgorithm File Edit Program Tools Help NII outputArray outputArray (Real Array myArray) Integer i Output Array

_________________________________________________________________

Dear Friend, Feel Free to Ask Any Doubts by Commenting. ASAP i'll respond when i'm available.

I'm on a critical Situation. Please Do Not Forget To Give A Thumbs UP +1. It will Helps me A Lot.

Thank YOU :-)

.

Similar Solved Questions

1 answer
3. If the utility is given by U(X,Y)= X +4Y and px = 1, the indirect...
3. If the utility is given by U(X,Y)= X +4Y and px = 1, the indirect utility is given by PY I (a) 4py I (b) py 41 (c) рү 21 (d) py...
1 answer
You calculated the gene density for the chromosomes of the bacterial species E.coli, the fruit fly...
You calculated the gene density for the chromosomes of the bacterial species E.coli, the fruit fly Drosophila, chickens and humans. Which species had the most genes/Mb DNA? Humans b. Drosophila 6. Chickens d. E.coli...
1 answer
Brothers Harry and Herman Hausyerday began operations of their machine shop (H & H Tool, Inc.)...
Brothers Harry and Herman Hausyerday began operations of their machine shop (H & H Tool, Inc.) on January 1, 2016. The annual reporting period ends December 31. The trial balance on January 1, 2018, follows (the amounts are rounded to thousands of dollars to simplify): Debit Credit Account Title...
1 answer
Please do NOT just post the answer. I need an explanation. Information (Chapter 7) Critical Thinking...
Please do NOT just post the answer. I need an explanation. Information (Chapter 7) Critical Thinking Question Model 1 The oligosaccharide component from a Ceramide (a sphingolipid, see Figure 10-12, page 371 in the textbook) has been removed by hydrolysis whereby the following monosaccharides are ob...
1 answer
The fundamental frequency of a string fixed at both ends is 210 Hz. How long does...
The fundamental frequency of a string fixed at both ends is 210 Hz. How long does it take for a wave to travel the length of this string?...
1 answer
At where f(x)=|(x^2)-9| is differentiable?
At where f(x)=|(x^2)-9| is differentiable?...
1 answer
Acme Products produces two products: Sofas and Beds. Sofas sell for $11/unit and Beds sell for...
Acme Products produces two products: Sofas and Beds. Sofas sell for $11/unit and Beds sell for $23/unit. A Sofa requires 2 hours on machine 1 and 1 unit of wood. A bed requires 2 hours on machine 2, 2 units of wood, and 1 sofa. There are 1,300 hours available on machine 1, and 500 hours on machine 2...
1 answer
Horizontal Analysis The comparative temporary investments and inventory balances of a company follow. Current Year Previous...
Horizontal Analysis The comparative temporary investments and inventory balances of a company follow. Current Year Previous Year Accounts payable $96,375 $77,100 Long-term debt   32,412   43,800 Based on this information, what is the amount and percentage of increase o...
1 answer
3. Why do you think the shape of stringed instruments such as violins, guitars and cellos...
3. Why do you think the shape of stringed instruments such as violins, guitars and cellos is curved and reminds a "hourglass" figure? How does this shape effect the quality of sound? Please write a small paragraph below (up to 100 words)....
1 answer
All That Blooms provides environmentally friendly lawn services for homeowners. Its operating costs are as follows....
All That Blooms provides environmentally friendly lawn services for homeowners. Its operating costs are as follows. Depreciation $1,400 per month Advertising $1,068 per month Insurance $1,900 per month Weed and feed materials $11 per lawn Direct labor $8 per lawn Fuel $2 per lawn ...
1 answer
Tamar Co. manufactures a single product in two departments. All direct materials are added at the...
Tamar Co. manufactures a single product in two departments. All direct materials are added at the beginning of the Forming process. Conversion costs are added evenly throughout the process. During May, the Forming department started 21,600 units, and transferred 22,200 units of product to the Assemb...
1 answer
3. There are many symbiotic interactions found in the termite hindgut with representatives from all 3...
3. There are many symbiotic interactions found in the termite hindgut with representatives from all 3 domains of life. The hindgut protozoa have a number of unique functions in the termite. Discuss it role in fermentation, and how these processes are related to the termite. (5pts)...
1 answer
8 Pr. 8 600 a)???eTransformer circuit shown above, as seen by tze Sourc Name 1?,res of...
8 Pr. 8 600 a)???eTransformer circuit shown above, as seen by tze Sourc Name 1?,res of Core losses in e prachcal transformer...
1 answer
Consider the titration of 100.0 ml of 1.00 M HCN with 1.00 NAOH solution. Find the...
consider the titration of 100.0 ml of 1.00 M HCN with 1.00 NAOH solution. Find the pH of the soultion at the equivalence point. ka (HCN)= 4.0*10^-10...