1. WAP in java Hello World Program.
2. WAP to Add Two Numbers.
3. WAP to ADD, Subtraction, Multiplication and Division of Numbers.
4. WAP to SWAP two Numbers
5. WAP to convert Integers into Binary Numbers
6. WAP to find factorial of Numbers
7. WAP to Add two complex Numbers
8. WAP to calculate SI in Java
9. WAP to Calculate CI in Java
10.WAP to calculate angles of tringles
11.Wap to calculate Area and dimeters of Square
12.WAP To calculate Area and Dimeters of Rectangles.
13.WAP to find the sum of Fibonacci Series
14.WAP to find sum of even numbers.
15.WAP to print Pyramid pattern.
16.Write a Java program to get a number from the user and print whether it is
positive or negative.
17.Write a Java program to solve quadratic equations (use if, else if and else).
18.Write a Java program that takes three numbers from the user and prints the
greatest number.
19. Write a Java program that reads a floating-point number and prints "zero" if
the number is zero. Otherwise, print "positive" or "negative". Add "small" if
the absolute value of the number is less than 1, or "large" if it exceeds
1,000,000.
20.Write a Java program that takes a number from the user and generates an
integer between 1 and 7. It displays the weekday name.
21.Write a Java program that reads two floating-point numbers and tests
whether they are the same up to three decimal places.
22.Write a Java program to find the number of days in a month.
23.Write a Java program that requires the user to enter a single character from
the alphabet. Print Vowel or Consonant, depending on user input. If the user
input is not a letter (between a and z or A and Z), or is a string of length > 1,
print an error message.
24.Write a Java program that takes a year from the user and prints whether it is
a leap year or not.
25.Write a Java program to display the first 10 natural numbers.
26.Write a Java program to display n terms of natural numbers and their sum.
27.Write a program in Java to input 5 numbers from the keyboard and find their
sum and average.
28.Write a Java program to display the cube of the given number up to an
integer.
29.Write a Java program to display the multiplication table of a given integer.
30.Write a Java program that displays the sum of n odd natural numbers.
31.Write a Java program to display the pattern like a right angle triangle with a
number.
32.Write a Java program to make such a pattern like a right angle triangle with
the number increased by 1.
The pattern like :
1
23
456
7 8 9 10
33.Write a Java program that reads a floating-point number. If the number is
zero it prints "zero", otherwise, print "positive" or "negative". Add "small" if
the absolute value of the number is less than 1, or "large" if it exceeds
1,000,000.
34.Write a Java program that reads an positive integer and count the number of
digits the number (less than ten billion) has.
Write a Java program that accepts three numbers and prints "All numbers are
equal" if all three numbers are equal, "All numbers are different" if all three
numbers are different and "Neither all are equal or different" otherwise. Write a
program that accepts three numbers from the user and prints "increasing" if the
numbers are in increasing order, "decreasing" if the numbers are in decreasing
order, and "Neither increasing or decreasing order" otherwise.
35.Write a Java program that accepts two floating point numbers and checks
whether they are the same up to two decimal places.
36.Write a Java program to generate the following * triangles.
37. Write a Java program to convert temperature from Fahrenheit to Celsius
degrees.
38.Write a Java program that reads a number in inches and converts it to meters.
39. Write a Java program to convert minutes into years and days.
40.Write a Java program that prints the current time in GMT.