1. Develop a program to input height and length of a right triangle and calculate and print the area of a right triangle.
Area of right triangle = (height x length) /2
2. Write a java program to input three integers and print the smallest and largest.
No. of unit consumed Charges/unit (RM)
1 - 200 0.218
201 - 300 0.334
>= 301 0.516
Read unit consumed and calculates the net amount of the bill for each consumer and print it.
No comments:
Post a Comment