| | |
Flow Chart help plz
Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
![]() |
•
•
Join Date: Oct 2004
Posts: 1
Reputation:
Solved Threads: 0
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?
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.
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.
I'm here to prove you wrong.
![]() |
Similar Threads
- Flow charts and programming (C++)
- For statement in flow chart (C++)
- Flow Chart (C)
- Bar Chart (Java)
- Hi all! Newbie here needing some help plz (Java)
Other Threads in the Computer Science Forum
- Previous Thread: where to go to school?
- Next Thread: ultrix operating system
| Thread Tools | Search this Thread |
ai algorithm algorithms amazon assignment assignmenthelp assignments automata battery bigbrother binary bittorrent bizarre bletchleypark blogging bomb business cern codebreaker compiler computer computers computerscience computertrackingsoftware connect conversion csc dataanalysis dataintepretation development dfa dissertation dissertations dissertationtopic ebook employment energy floatingpoint foreclosure foreclosuresoftware fuel gadgets geeks givemetehcodez government graphics hardware history homeowners homeworkassignment homeworkhelp humor ibm idea ideas internet iphone ipod jobs laser laws linkbait lsmeans mainframes marketing mobileapplication msaccess nano netbeans networking news os p2p piracy piratebay principles programming rasterizer research sam-being-cute sas science security sex simulation software spying stephenfry study supercomputer supercomputing sweden technology textfield turing turingtest two'scompliment uk virus ww2






