You are on page 1of 1

ASSIGNMENT PROGRAMS USING if -else

Q1. Write a program to input a number.


Check if it is even or not.

Q2. Write a program to input three


numbers. Calculate their average. If the
average is greater than 50 then print the
average otherwise print the numbers in
different lines.

Q3. Write a program to input two


numbers. Print the greater number.

You might also like