Fran’s Virtual Fruit Stand, Part 2
Running Head: PART 1 FLOWCHART: FRAN’S VIRTUAL FRUIT STAND 1
PART 1 FLOWCHART: FRAN’S VIRTUAL FRUIT STAND 3
Part 1 Flowchart: Fran’s Virtual Fruit Stand
YASIN CAKMAK
CIS 110
STRAYER UNIVERSITY
11/29/2016
Part 1 flowchart: Fran’s Virtual Fruit Stand
( Begin )
( MAX_ITEMS = 5 ) Simple Flowchart
( Count = 1 )
( Continue = “y” )
( Make array (ItemName, MAX_ITEMS ) )
( Make array (PricePer Pound , MAX_ITEMS ) )
( Make array ( Pound Sold, MAX_ITEMS ) )
( (co unt<= MAX_ITEMS ) And (countinue = “y”) )
True
( Index 0 to 9 ) ( Input = ItemName (Count) )
( Input: target_value )
( Target_value=list ) False True
( Count = count + 1 ) ( Index 0 to 9 )
( Output: “The target value appears “& count” in the array” )
( End )
Using Visual Logic
Enter Fruit Name: apple
Enter Fruit Name: “Mango”
Enter Price per Pound: 8
Enter number of pounds sold in a month: 8000
Do you want to enter more items (y/n)? n
Mango 8000 pounds @ 8 per pound = $64000
Total weight = 8000 pounds
Net price = $64000
Shipping Costs = $4000
Total price with shipping = $68000
References
Farrell, J. (2013). An object-oriented approach to programming logic and design. Australia,: Cengage Learning.