Important Notice:

Course Content
Conditional Statements/Selection Statement
0/3
Conditional and Iterative Statements Lab Assignment
About Lesson

if Statement Assignment


Question 1:-wap to check the enter number is even.


Question 2:-wap to check the enter number is odd.


Question 3:-wap to check the enter number is positive.


Question 4:-wap to check the enter number is negative.


Question 5:-wap to enter any age and check entered age is eligible for voting.


Question 6:-wap to enter any age and check entered age is eligible for driving a car.


Question 7:-wap to check whether a number is divisible by 5.


Question 8:-wap to check pass the student in given percentage.


Question 9:-wap to check pass the student in given number.


Question 10:-wap to check senior citizen.


Question 11:-wap to check whether last digit of a number is divisible by 3.


Question 12:-wap to find greater value between two numbers.


Question 13:-wap to find smaller value between two numbers.


Question 14:-wap to give the 10% discount if amt is greater than 1000.


Question 15:-wap to check enter number is equal.


Question 16:- wap to check positive or non positive number


Question 17:- wap to remove the last digit from a given number and print it.


Question 18:- wap to print two given words in dictionary order.


 

error: Content is protected !!