MP3 - Machine Problem 4 -
Switch Case
JOHN LUIS B. DAGDAG
BSIT-102I
1. Write a program that will input a password and test if the password is correct and
display the message “Password Accepted” otherwise, display “Invalid Password”. (Note:
Password is “JRU” or “jru”)
2. Write a program that will input a user’s choice based on the table below
3. Write a JAVA program that will input the following data: Student Name, Average, Tuition
Fee and output Total Tuition Fee.
Formula: Total Tuition Fee = Tuition Fee – Discount
If average is: 95 – 100 100% discount
90 – 94 25% discount
85 – 89 10% discount
84 -80 no discount