Академический Документы
Профессиональный Документы
Культура Документы
Chapter 4 Homework Regina Varnado MSN Keller Graduate School of Management Professor Missakian MIS505: Essentials of Info Sys/Programming
Description Name of the candy item Price of the candy item per pound The number of pounds of candy item sold The number of pounds of candy items sold per month more than 2000 pounds
Description
Datatype/Length
Description Variable to enter the name of the candy item Variable to enter the Prompt_Enter_price_per_pound price of the candy item per pound Variable to enter the Prompt_Enter_pounds_sold number of pounds sold candyName,pricePerPound,poundsSold the items data of the best selling candy item that sold more than 2000 pounds per month If the pounds of candy if poundsSold>poundsPerMonth items sold is more than 2000 pounds a month display End of job endif
string string
string
Display the items data Accept candy name, Calculate the average price per pound, and pounds of candy sold number of pounds sold (items that sell more of best selling item
per month
in the average month
CHAPTER 4 HOMEWORK
Chapter 4 Homework Start Declare variables string candyName num pricePerPound num poundsSold num poundsPerMonth=2000 input candyName input pricePerPound input poundsSold if poundsSold>poundsPerMonth output candyName,pricePerPound,poundsSold endif stop
CHAPTER 4 HOMEWORK
start
input candyName
Input pricePerPoud
Input poundSold
No
poundsSold>poundsPerMonth
Yes
stop