Simple Java programs
PART A
1. Java Program to Find Largest of Three Numbers.
2. Java Program to Display Odd Numbers from 1 to 100.
3. Java Program to Find Sum of Natural Number.
4. Java Program to check if a Number is Positive or Negative.
PART B
1. Program to print the elements of an array in reverse order.
2. Program to print the elements of an array present on even
position.
3. Java Program to sort the elements of an array in descending
order.
4. Program to copy all elements of one array into another array.
5. Program to Print the Duplicate Elements of an Array | Find
Duplicate Elements in an Array in Java.
PART C
1. Java Program to add two matrices.
2. Java Program to find the transpose of a given matrix.
3. Java Program to find the sum of each row and each column of
a matrix.
4. Java Program to count the total number of characters in a
string.
5. Java Program to determine whether a given string is
palindrome.