Ics Ev 01
Ics Ev 01
CLASS EVALUATION 01
Total Time: 40 minutes Total Marks: 20
1. Program that will take three integer numbers from keyboard but assign only the first and
last inputs to variables and skip any assignment of the middle one.
2. Program that will check whether a triangle is valid or not, when the three angles (angle
value should be such that, 0 < value < 180) of the triangle are entered through the keyboard.
[Hint: A triangle is valid if the sum of all the three angles is equal to 180 degrees.]
3. Program that will take the final score of a student in a particular subject as input and find
his/her grade.
1 of 2
2 of 1
UNITED INTERNATIONAL UNIVERSITY
Department of Computer Science and Engineering (CSE)
Sample input Sample output
91.5 Grade: A
50 Grade: F
He is also generous to his bonus deprived employees who have a larger family. Thus, He has
declared the bonus for
➢ For the employees of ‘Y’ and ‘Z’ categories who have more than 8 family members and
has less than 1100.78 BDT total family income per month.
➢ However, if an employee is from ‘X’ category, he can avail the bonus having more than 5
family members.
Now you need to automate the system by writing a program to take following inputs from user
(employee) and notify him whether he is eligible for the bonus or not.
➢ Category (character)
➢ Years of work experience (integer)
➢ Number of family members (integer)
➢ Total family income per month (float)
2 of 2