Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


I need some help with psuedocode?

PJsPlacePJsPlace Member Posts: 28
[b][red]This message was edited by PJsPlace at 2002-8-31 16:32:46[/red][/b][hr]
[blue]I don't expect anyone to do this whole thing but I am looking for ways of how to put it all together and suggestions. Puesdcode is the easy part I know, but I am haveing trouble getting started. Don't worry I will be back for the code part when I get stuck cuz I know I will. Any help is very appreciated. The database of products, I don't know how to link it to search for the program given an item number, and have it search for that item and have it show up. Someone help me get started

My problem is I am looking for puesdcode for a program my C++ class.
MY assignment is to design write, run and test a C++ program to simulate the operation of a grocery store checkout system. Your program should first build a database containing information on all the products available in the store. Then, the program should print the cash register receipt for each customer. Each customers purchases will be simulated by reading a text file containing data about each purchase. Please include a Top-Down Design in pseudocode including function, input, preconditions, output and postconditions for modules. Turn in all design documents, hard copy of list and runs of program.

The input file will consist of commands followed by data as shown.

INVENTORY {Build the inventory with products listed below}
{one product per line}

etc. ............
0 {end of inventory}
{one item per line}

etc. ................
0 {signals end of customer}

etc. ................
EXIT {terminate the program}


  • Justin BibJustin Bib USAMember Posts: 0

    ___ ( ) free ebooks and video tutorials about ( Objective-C Visual Basic Java C# C Visual Basic .NET Assembly MATLAB Go Delphi Swift JavaScript C++ PL/SQL Python Perl PHP R Scratch Ruby Lua Transact-SQL Clojure Lisp SAS Rust LabVIEW Ada Bash FoxPro Dart VBScript ML ABAP Hack Erlang F# Kotlin Crystal Julia D Prolog Scala Awk Logo Apex Alice COBOL Fortran Scheme ) ______________

Sign In or Register to comment.