1. Open Netbeans then implement the program as shown in the figure.
2. Filename: Activity3
Problem:
1. Write a program that gives a discount of 100 pesos to a customer if the shirt bought is XL and the price is greater than 500 pesos; a discount of 50 pesos if the shirt bought is L and the price is greater than 400.
2. Write a program that will display "IT'S COLD" if the temperature is less than 20, "IT'S HOT!" if the temperature is greater than 30, "COOL CLIMATE" otherwise.
No comments:
Post a Comment