Write an algorithm outputs number of books using psuedocode, Data Structure & Algorithms

A shop sells books, maps and magazines. Every item is identified by a unique 4 - digit code. All books have a code starting with a 1, all maps have a code which starts with a 2 and all magazines have a code beginning with a 3. Code 9999 is used to end the program.

Write an algorithm using pseudocode that input the codes for all items in stock and outputs number of books, magazine and maps in stock.

Include any validation checks necessary.

 

Posted Date: 9/11/2013 4:01:33 AM | Location : United States







Related Discussions:- Write an algorithm outputs number of books using psuedocode, Assignment Help, Ask Question on Write an algorithm outputs number of books using psuedocode, Get Answer, Expert's Help, Write an algorithm outputs number of books using psuedocode Discussions

Write discussion on Write an algorithm outputs number of books using psuedocode
Your posts are moderated
Related Questions
H o w can you r ot a t e a B i n a r y Tr e e? E x pl a i n r i g h t a n d l eft r ot a tion s by taking an e x a mpl e.   If after

Ask question #sdgsdgsdginimum 100 words accepted#

implementation of fast fourier transforms for non power of 2

State about the pre- and post conditions Programmers can easily document other pre- and post conditions and class invariants, though, and insert code to check most value preco

the above title please send give for the pdf file and word file

Linked List  A linked list is a linear collection of data elements called nodes. The linear order is given by pointer. Every node is divided into 2 or more parts.

Graph Traversal In many problems we wish to investigate all the vertices in a graph in some systematic order. In graph we often do not have any single vertex singled out as spe

insertion and deletion in a tree

Count Scorecards(30 points) In a tournament, N players play against each other exactly once. Each game results in either of the player winning. There are no ties. You have given a

#include #include int sumFact(int numb); int calculateFactorial(int digit); main() { int numb, sumfact; do{ printf ("Enter a number 1 to 9999\n"); scanf("%