Question

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

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

0 0
Add a comment Improve this question Transcribed image text
Answer #1

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 :-)

Add a comment
Know the answer?
Add Answer to:
Help with Flowgirthim . Use the flowgorithim app to answer. In this program you find the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • In C Write a couple of functions to process arrays. Note that from the description of...

    In C Write a couple of functions to process arrays. Note that from the description of the function you have to identify what would be the return type and what would be part of the parameter. display(): The function takes an int array and it’s size and prints the data in the array. sumArray(): It takes an int array and size, and returns the sum of the elements of the array. findMax(): It takes an int array and size, and...

  • C++ Code Pass By Reference Practice Write the following functions for basic array operations based on...

    C++ Code Pass By Reference Practice Write the following functions for basic array operations based on the function descriptions given below. Write the following functions for basic array operations based on the function descriptions given below. FindMinArray: This function will search an array of integers (passed to the function as a parameter) for its minimum value, then return that value. SumArray: This function will sum an array of integers (passed to the function through a parameter) then return that sum....

  • Instructions Read the questions and instructions carefully as typos or misspellings may cause errors. Variables and...

    Instructions Read the questions and instructions carefully as typos or misspellings may cause errors. Variables and functions are persistent throughout the challenge. If a question asks you to use an object from a previous question, please do so :) Hit Run at the top of the page to test your code and execute any functions you've called. When you're finished, just hit Submit. Our team will review submissions in the order that they're received, and will submit feedback through this...

  • c++ The program will be recieved from the user as input name of an input file...

    c++ The program will be recieved from the user as input name of an input file and and output.file. then read in a list of name, id# and score from input file (inputFile.txt) and initilized the array of struct. find the student with the higher score and output the students info in the output file obtain the sum of all score and output the resurl in output file. prompt the user for a name to search for, when it find...

  • FUNCTIONS In this assignment, you will revisit reading data from a file, and use that data...

    FUNCTIONS In this assignment, you will revisit reading data from a file, and use that data as arguments (parameters) for a number of functions you will write. You will need to: Write and test a function square_each(nums) Where nums is a (Python) list of numbers. It modifies the list nums by squaring each entry and replacing its original value. You must modify the parameter, a return will not be allowed! Write and test a function sum_list(nums) Where nums is a...

  • **IN C*** * In this lab, you will write a program with three recursive functions you...

    **IN C*** * In this lab, you will write a program with three recursive functions you will call in your main. For the purposes of this lab, keep all functions in a single source file: main.c Here are the three functions you will write. For each function, the output example is for this array: int array[ ] = { 35, 25, 20, 15, 10 }; • Function 1: This function is named printReverse(). It takes in an array of integers...

  • Please help code in c++ and use the answers you get from question 1 and 2...

    Please help code in c++ and use the answers you get from question 1 and 2 into the 3rd answer! Question 1 is first, question 2 is in the middle, question 3 is last Input Array (10 pts) te a function only (no main) that takes an array of doubles as a parameter as well as another integer rray. Create a for loop that asks the user to input any real number between-100 and r each element of the array....

  • C++ please use only easy code and stdio.h because im just a beginner Description Write the...

    C++ please use only easy code and stdio.h because im just a beginner Description Write the program that can manage the information of students as follows: S 1. This program has two phase; the input phase and the output phase. 2. In an input phase, a teacher inputs the information (name, score, and department) for each student. The total number of students who can be inputted should be defined as a NUM OF_STUDENT constant value. In this example, the value...

  • c++ CSI Lab 6 This program is to be written to accomplish same objectives, as did...

    c++ CSI Lab 6 This program is to be written to accomplish same objectives, as did the program Except this time we modularize our program by writing functions, instead of writing the entire code in main. The program must have the following functions (names and purposes given below). Fot o tentoutefill datere nedefremfite You will have to decide as to what arguments must be passed to the functions and whether such passing must be by value or by reference or...

  • In this assignment, you will revisit reading data from a file, and use that data as...

    In this assignment, you will revisit reading data from a file, and use that data as arguments (parameters) for a number of functions you will write. You will need to: Write and test a function square_each(nums) Where nums is a (Python) list of numbers. It modifies the list nums by squaring each entry and replacing its original value. You must modify the parameter, return will not be allowed! Write and test a function sum_list(nums) Where nums is a (Python) list...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT