Here I have added all the java programs which are necessary for learning the basics.
The programs are as follows :-
1.Java program to print good evening.
2.Java program to add two numbers{taking 3 variables[num1,num2,sum]}
3.java program to calculate the simple interest and the maturity(final amount).
- Java program to print the multiplication table till 10.
5.Java program to calcate the area of a right angled triangle.
6.Java program to print the given number is natural or not.
7.Java program to show that: *else always execute false condition. *if always execute true condition.
8.Java program to print whch number is greater among the given ones in a program using if else.
9.Java program to print the gradesas per the table given:
PERCENTAGE GRADES
>=90 A
<90 B