0% found this document useful (0 votes)
5 views

Java_Programs_Index_Formatted

The document lists a series of programming tasks in Java, each requiring the creation of a program to perform specific calculations or checks. Tasks include displaying personal information, performing arithmetic operations, calculating areas and volumes, converting temperatures, and checking conditions like voting eligibility and number properties. Each task is numbered and briefly described.

Uploaded by

manwalsarita82
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Java_Programs_Index_Formatted

The document lists a series of programming tasks in Java, each requiring the creation of a program to perform specific calculations or checks. Tasks include displaying personal information, performing arithmetic operations, calculating areas and volumes, converting temperatures, and checking conditions like voting eligibility and number properties. Each task is numbered and briefly described.

Uploaded by

manwalsarita82
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Index

Sr. Question Remark


No.

1 Write a program in Java to display the information on the


output screen (name, class, roll number, and school).

2 Write a program in Java to accept two numbers and calculate


sum, difference, product, quotient, and remainder according to
the user’s choice.

3 Write a program in Java to accept the length and breadth of a


rectangle and calculate its area and perimeter.

4 Write a program in Java to accept the side of a square and


calculate its area and perimeter.

5 Write a program in Java to accept the radius of a circle and


calculate and display its area and circumference.

6 Write a program in Java to accept marks of 5 subjects for a


student, calculate and display the total marks scored and
percentage.

7 Write a program in Java to accept the side of a cube and


calculate its volume.

8 Write a program in Java to accept the length, breadth, and


height of a cuboid and calculate its volume.

9 Write a program in Java to accept the temperature in


Fahrenheit and convert it into degrees Celsius.

10 Write a program in Java to accept the age of a person and


check whether they are eligible for voting or not.

11 Write a program in Java to accept a number and check whether


it is even or odd.

12 Write a program in Java to accept a number and check whether


it is positive or negative.
13 Write a program in Java to accept a number and check whether
it is divisible by 7 or not.

14 Write a program in Java to accept the three angles of a triangle


and check whether the triangle is possible or not.

15 Write a program in Java to accept two numbers and display the


larger number as output.

16 Write a program in Java to accept the length of three sides of a


triangle and display whether it is equilateral, isosceles, or
scalene.

You might also like