need help, new to CISP

liunx

Guest
Hi,<br /><br />I just joined CISP301 and I'm two weeks behind. My lab partner is sick and somehow I got to do my homework.<br /><br />here's what I have to do:<br /><br />The manager of the super supermarket would like to be able to compute the unit price for products sold there. To do this, the program should input the name and price of an item and its weight in pounds and ounces. Then it should determine and display the unit price (price per ounce) of the item.<br /><br />what has to be included:<br />Hierarchy chart<br />Each modules pseudocode<br />Main module pseudocode<br />Test value and the expected results<br /><br />here's what I did by somewhat understanding the book<br /><br />Main module<br /><br />Declare ounces_per pound, As 16<br />Define ounces_per_pound, As constant<br />Call input<br />Call processing<br />Call output<br />End<br /><br />Input Module<br /><br />Write 鎻歭ease enter the name of an item: ?br />Input name<br />Write 鎻歭ease enter the price of an item: ?br />Input price<br />Write 鎻歭ease enter the weight in pounds: ?br />Input pounds<br />Write 鎻歭ease enter the weight in ounces: ?br /><br /><br /><br />I don't really know what to put in processing so any help will be great.<br /><br />I also don't know what to put in the hierarchy chart but this is what I got so far<br /><a href="http://img111.imageshack.us/img111/963/untitledjq8.jpg" target="_blank">http://img111.imageshack.us/img111/963/untitledjq8.jpg</a><br /><br />Thanks in advance for any help<br />DeathEvil
</div>
 
Back
Top