Input 3 angles of triangle and check whether a triangle is valid or not. A triangle is valid if the sum of all the three angles equal to 180 degrees and no angle is equals to 0.
Input 5 subjects marks of a student and find percentage & grade on the following slabs:
Percentage
Grade
81 - 100
A
71 - 80
B
61 - 70
C
40 - 60
D
0 - 39
F
WAP to input working hour of a employee and find per day salary on the following conditions:
A cashier has currency notes of denominations 10, 50 and 100. If the amount to be withdrawn is input through the keyboard, find the total number of currency notes of each denomination the cashier will have to give to the withdrawer.