|
and can you help me w/ those too... Design the flow chart for a program that summarizes sales data. The data in the file contain the sales person’s ID number (a number between 1 and 10), and the amount of the sale. The data in the file are not sorted, so you must use an array to keep track of your totals. When you have processed the entire file, output the totals for all sales persons.
Design the flow chart for a program that counts words in a file. The program will use two data files, one file will contain the words to count, and your program will count these words in the second file. The first file may contain up to 10 words. When the program has completely processed the second file, display the count of the words as the output of your program.
|