Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Ajay Chaudhary Classes

Being Brilliant:-
Class 10th test(Conditional statements)
Max marks-70
1.Take three numbers from the user and print the greatest number. [10]
2.Write a Java program that keeps a number from the user and generates an
integer between 1 and 7 and displays the name of the weekday. [10] 
3. Write a Java program that takes a year from user and print whether that year
is a leap year or not. [10]
4. Write a program in Java to input 5 numbers from keyboard and find their sum
and average. [10]
5.What is the use of if statement? [2]
6.What are the different types of condition statements? [3]
7.What do you mean by scope of a conditional statement?Explain with a help of
an example.[5]
8.

You might also like