Java Assignment
[Link] 2 variables and print which is the greater?
[Link] method print the area of
[Link]
[Link]
[Link]
[Link]
[Link] Students data using method
4.10.
If
x = 2
y = 5
z = 0
then find values of the following expressions:
a. x == 2
b. x != 5
c. x != 5 && y >= 5
d. z != 0 || x == 2
e. !(y < 10)
[Link] a Java program to display the first 10 natural numbers
[Link] a program to find maximum between three numbers
[Link] a program to check whether a number is negative, positive or zero
[Link] a program to check nos is even
[Link] 1-100 if nos is divisible by 3 then print "fizz", if the no is divisible by
5 then print "Buzz"
if no is divisible by 3 & 5 then print fizzbuzz
[Link] a program to print right angle traingle using for loop
[Link] a program to swap 2 nos
[Link] a program to print Hello Java 5 times using for loop
[Link] a program to check no is prime or not?
[Link] a program to reverse a no
15. Write a Java program to print the sum (addition), multiply, subtract, divide
and remainder of two numbers.