Assignment 3 : Conditional Statements Examples
Hi,
Today’s Assignment:
1. Write a “C” Program to Check which number is greater among the given two numbers.
2. Write a “C” Program to Check which number is smaller among the given two numbers.
3 Write a “C” Program to Check which number is greater among the given three numbers.
4. Write a “C” Program to Check which number is smaller among the given three numbers.
5. Write a “C” Program to Check whether a number is positive or negative.
6. Write a “C” Program to Check whether a given number is greater than 100 or not?
7. Write a “C” Program to Check the given number is in the range of 500 to 1000 or not?
8.7. Write a “C” Program to Check the given number is a positive number or negative number or zero.
Note: if the user enters 0, it should display zero, -5 means negative, 5 means positive.
9. Write a “C” Program to Check which number is greater among the given three numbers using nested if.
10. Write a “C” Program to check whether the given character is a Vowel or Not?