0% found this document useful (0 votes)
37 views

03 If Elif Else

The document provides examples of WAPs (write a program) to check relationships between integers, determine the number of digits in an integer, predict a student's grade based on percentage, find the greatest of three or six numbers using elif statements, check the type of a character, and determine the data type stored in a variable.

Uploaded by

Bharathi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views

03 If Elif Else

The document provides examples of WAPs (write a program) to check relationships between integers, determine the number of digits in an integer, predict a student's grade based on percentage, find the greatest of three or six numbers using elif statements, check the type of a character, and determine the data type stored in a variable.

Uploaded by

Bharathi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

1. WAP to check the relationship between the two integer variables.

2. WAP to check whether the given integer number is having single digit or two digit or three
digit or more than three digits.
3. WAP to predict the grade obtained by the student based on his result percentage.
4. WAP to find the greater number among three numbers by using elif statement.
5. WAP to find the greater number among six numbers with the help of elif statement.
6. WAP to check the type (Upper case or Lower case or Number or Special symbol) of the given
char.
7. WAP to find the which data type items stored into a variable.

You might also like