![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHyvlLLT8a5L4FyuyZ2glVvwPdB5q7Bbqw3gz1sQLb8vfwMSbWy_twg9juljcrd0YyFqv0b62PEoscvp6x7_EEEnVAgcapSOEa4CX7Qbev68D69CCD2i6yOuOjapLchm1heCxOp8L0198O/s320/Java.jpg)
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