Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

WAD322 3E

ASP.NET

ACLC COLLEGE
Mabalacat Branch
2/F Dau Mart II Mc Arthur Hi-way Dau
Mabalacat

PRELIM EXAMINATION

INSTRUCTIOS: Erasures and other alterations are considered wrong.


Answer the Following Machine Problems in ASP.NET. You can use concatenation if
needed in your program.
1. PATRICK Restaurant sells soft drinks for P12.50 and sandwiches for P25.00. Make a
program that would input the number of soft drinks and sandwiches bought and then
output the total bill. (20pts)
SAMPLE OUTPUT:
PATRICK RESTAURANT
Softdrinks: 1
Sandwiches: 1
Total Bill: 37.50
2. Write a program that read 5 test scores in array then output the highest and the average
score from the given inputs. Identify if the Average is Passing or Failing. (30pts)
SAMPLE OUTPUT:
WAD322 PRELIM AVERAGE
Score
Score
Score
Score
Score

(1):
(2):
(3):
(4):
(5):

75
87
90
77
88

Average: 83.40
PASSED!

Trust yourself as you trust God Almighty.


God blessed always.

Prepared By: Mr. Herlbert G. Gayo


Approved By: Ms. Rumina Ramos
Instructor
School Director

You might also like