Sunteți pe pagina 1din 2

PROBLEM:

Note: There should be only 1 exit and trap all possible errors then
provide possible error messages. Connect item 1 & 2 with your security
control designed previously.

1. Using COMBO BOX, write a menu driven program that will allow user to
choose the following options: Further, all output should be displayed on
a message box.

1.1 A program that ask user to input an integer for the base and its
exponent. Compute its value.

Example:

Enter base: 4

Enter exponent: 2

The value is: 16

1.2 A program that ask user to input 10 integers and output the
following:

a.) Sum of all positive integers


b.) Sum of all negative integers
c.) Sum of all even numbers
d.) Sum of all odd numbers
e.) Highest number entered
f.) Lowest number entered
g.) Difference of the highest and lowest number entered
h.) How many are perfectly divisible by 3
i.) How many integers are in the range of 50-100 entered
j.) Average of all positive integers entered
k.) Average of all negative integers entered
2. Write a menu driven program using COMBOBOX for the main option and
CHECKBOX and PICTUREBOX for the sub-options. Download
appropriate pictures as www.jollibee.com.ph

Breakfast Joys
- Corned Beef
- Beef Tapa
- Steak
- Hotdog
Beverages & Desserts
- Strawberry Shake
- Choco Shake
- Kitkat Mix-ins
- Strawberry Sundae
Users can freely choose among the choices either on breakfast joys and
beverages & desserts. Ask user the quantity of an order(s), display the
amount payable, ask for the CASH, and display the change if any. Provide an
official receipt using a MESSAGEBOX that displays the summary of all
transactions.

Note:

PRICE LIST
Breakfast Joys
- Corned Beef – P85.00
- Beef Tapa – P75.00
- Steak – P87.00
- Hotdog – P84.00
Beverages & Desserts
- Strawberry Shake – P50.00
- Choco Shake – P45.00
- Kitkat Mix-ins – P49.50
- Strawberry Sundae – P56.00

Good Luck!

S-ar putea să vă placă și