Professional Documents
Culture Documents
Tutorial II-IST
Tutorial II-IST
Tutorial II-IST
1. Write a C program to find the largest number among the four numbers using nested if statement.
(10 marks)
2. Write a C program to check the two numbers given by the user are equal or not equal using if-
else statement. ( 5 marks)
3. Write a C program to check the year given by the user is a leap year or not using if-else statement.
(5 marks)
4. Write a C program to print the following output using nested----- loop. (5 marks)
* *
* * *
* * * *
* * * * *