Core Java assignments list
Core Java assignments list :
1. Write First java program to print your name.
2. Write a java program to perform arithmetic operations
3. Write a java program to demonstrate use of relational operators
4. Write a java program to demonstrate use of logical operators
5. Write a java program to demonstrate unery operator (++ and -- ) (post and pre) operators.
6. Java program to calculate compound interest
7. Java program to calculate power of number
8. Java program to swap two variables
9. Java program to Calculate area of rectangle
10. Java program to print ascii value of character
11. Java program to print default values of primitive datatype variables
12. Java program to swap two variables without using the third
variable
13. Java program to print Fibonacci series till n
14. Java program to calculate the area and perimeter of the circle.
15. write a program to check a number and print if it is positive using if
16. write a program to check a number and print wheather it is positive or negative using if else
17. write a program to declare a variable with value and print wheather it is positive/negative/zero using else if ladder
18. write a program to take a number from user, and perform operation as per his choice for arithmetic operations using switch.
19. write a program to print numbers from 1 to 100 using while loop
20. program to print numbers from 1 to 10 using do while loop
21. write a program to print 1 to 100 using for loop
22. write a program to print below pattern using nested loop
/*
*
**
***
****
*****
Comments
Post a Comment