You are on page 1of 3

Write a program to relate two

integers using =, > or <?


Output:
Enter a Integers:
12 23
Result: 12 < 23

Write a program to calculate


greatest number using nested if?
Output:
Enter a Value of X, Y Z:
X = 23
Y = 24
Z = 25
Z = 25 is greatest

Write a program to check whether


a character is Alphabet or Digit or
Other Graphical Character?
Output:
Enter a Character:
A is an Alphabet
8 is a Digit
# is a Graphical Character

You might also like