Question 1:
Get input for score out of 100 and evaluate performance:
If the score is less than 35, print "Poor Student".
If the score is greater than 35 but less than 70, print "Average Student".
If the score is greater than 70, print "Good Student".
Program:
Output:
Question 2:
Create a mini calculator that gets input for two numbers a and b, and an operation (add/sub/mul/div). If the user selects an operation, the program performs it and prints the result.
Program:
Output:
0 Comments