Home
About
Courses
Contact
JAVA
Class 9th
Class 10th
Class 11th
Class 12th
PYTHON
Class 11th
Class 12th
Code is copied!
Basic Programs in JAVA Class 10 ICSE
Very Basic Beginner Level Programs
1.
Program to print the sum, difference, product & division of the two numbers.
2.
Program to input temperature in Fahrenheit and convert it into degree Celsius and print it .
3.
Program to print the last digit of the number.
4.
Program to input two variables and swap them without using third variable.
5.
Program to input two variables and swap them with using third variable.
6.
Program to input marks in 3 subjects and print their average.
7.
Program to calculate speed on the basis of distance and time entered by the user.
8.
Program to calculate the sum of last digits of two numbers entered by the user.
9.
Program to calculate the perimeter and area of circle.
If Else Programs
1.
Program to input 2 values length and breadth and check if it is a square or a rectangle.
2.
Program to input the age of 3 persons and print the oldest among them
3.
A School has following criteria for grading system :
Above 80
A
65 to 75
B
50 to 60
C
below 50
D
Program to input marks and print the grade according to the given criteria.
4.
Program to print absolute value of a number entered by the user.
[Example : Input = -1, Output = 1 ;
Input = 1, Output = 1]
5.
Program to input a number and check whether it is positive negative or zero.
6.
Program to check whether the inputted number is even or odd
7.
Program to input age of a person and check whether the person is eligible to vote or not
8.
Program to input the sides of a triangle and check whether it is equilateral scalene or isosceles triangle.
9.
Program to input a number and check whether it is a 2 digit, 3 digit or more than that.
10.
Program to input year and check if it is a leap year or not.
11.
Program to input a number and check if it is divisible by both 5 and 11.
Contact Us
REACH US
SERVICES
CODING
ON-LINE PREPARATION
JAVA & PYTHON
ADDRESS
B-54, Krishna Bhawan, Parag Narain Road, Near Butler Palace Colony Lucknow
Contact:+ 919839520987
Email:info@alexsir.com