I need to creat a flow chart for my programing logic class that will read in a list of values that are entered by the user. The user will enter N to quit entering values, once all the values have been entered the program will print out the total of all the values, the average of all the values, the lowest value, and the highest value.
I have a start and am useing a module to make the flow chart but am stuck on the input of the values... how do u allow the user to input as many values as they want?

>how do u allow the user to input as many values as they want?
You can use a sentinel value that, when read, will terminate the input loop. This sentinel must be a value that is not within the valid range, or all input must be taken as string data and then parsed. For your flowchart, it's enough to simply say "while not end-of-file" and leave the definition of end-of-file to specific implementations.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.