JORDAN UNIVERSITY OF SCIENCE AND TECHNOLOGY
CS 116 (Visual Basic 6)
Sections 1 and 2 (Dr. Monther Aldwairi)
Assignment # 4
Due Date 4/12/2007
∑ To understand the use Sub and Functions Procedures.
Write a program to compute and display a fast food customerís bill. The vendor sells pizza slices for ($2.25), fries for ($1.25), and soft drinks for ($0.75).
The program must:
o request the quantity of each item ordered in a sub procedure
o calculate the cost in a function procedure
o use a sub procedure to display the itemized bill
Fig. 1. Interface