Posted by reggie on Thursday, October 14, 2010 at 7:37am.
Here's a possible pseudocode:
1. Input customer data (from disk or otherwise) to an array of objects or structures, each containing:
- name
- address
- purchase
The size of the array is n, and the array name is Clients.
2. Sort the array in decreasing order of purchase amount. Details can be expanded once the data structure and sort algorithm are determined.
3. Print/output the names, addresses, and purchase amounts from each client. The upper limit 100 will be replaced by n if n<100.
Build on the above and suggest a more detailed pseudocode. We'll be happy to critique your work.
Related Questions
Information Technology - Draw a flowchart for a program that allows the user to...
Computer class - how do I design a program using a flowchart, the program needs ...
programming - 3. Your company needs to depreciate its assets. The accountant ...
computer science - write a program to select the classes that you are taking(Ex...
Data Analysis Help - 4. Cells must be __________ and the sheet protected to ...
computer programming - Mr. Dacara owns 20 apartment buildings. Each building ...
Computers - Sort an array of ten 30 character items into ascending order of ...
Finance - Gap kids has several options: 1 run a loyalty program in which ...
Computer Programing & Logic Design - Submit pseudocode and a flowchart for ...
Computer studies - Draw a flowchart for a program that will accepts 30 ...
For Further Reading