Skip to content

Latest commit

 

History

History
60 lines (58 loc) · 2.2 KB

3-conditionals-loops.md

File metadata and controls

60 lines (58 loc) · 2.2 KB

Write Java programs for the following:

Basic Java Programs

  1. Area Of Circle Java Program
  2. Area Of Triangle
  3. Area Of Rectangle Program
  4. Area Of Isosceles Triangle
  5. Area Of Parallelogram
  6. Area Of Rhombus
  7. Area Of Equilateral Triangle
  8. Perimeter Of Circle
  9. Perimeter Of Equilateral Triangle
  10. Perimeter Of Parallelogram
  11. Perimeter Of Rectangle
  12. Perimeter Of Square
  13. Perimeter Of Rhombus
  14. Volume Of Cone Java Program
  15. Volume Of Prism
  16. Volume Of Cylinder
  17. Volume Of Sphere
  18. Volume Of Pyramid
  19. Curved Surface Area Of Cylinder
  20. Total Surface Area Of Cube
  21. Fibonacci Series In Java Programs
  22. Subtract the Product and Sum of Digits of an Integer
  23. Input a number and print all the factors of that number (use loops).
  24. Take integer inputs till the user enters 0 and print the sum of all numbers (HINT: while loop)
  25. Take integer inputs till the user enters 0 and print the largest number from all.

Intermediate Java Programs

  1. Factorial Program In Java
  2. Calculate Electricity Bill
  3. Calculate Average Of N Numbers
  4. Calculate Discount Of Product
  5. Calculate Distance Between Two Points
  6. Calculate Commission Percentage
  7. Power In Java
  8. Calculate Depreciation of Value
  9. Calculate Batting Average
  10. Calculate CGPA Java Program
  11. Compound Interest Java Program
  12. Calculate Average Marks
  13. Addition Of Two Numbers
  14. Sum Of N Numbers
  15. Armstrong Number In Java
  16. Find Ncr & Npr
  17. Reverse A String In Java
  18. Find if a number is palindrome or not
  19. Future Investment Value
  20. HCF Of Two Numbers Program
  21. LCM Of Two Numbers
  22. Java Program Vowel Or Consonant
  23. Perfect Number In Java
  24. Check Leap Year Or Not
  25. Sum Of A Digits Of Number
  26. Kunal is allowed to go out with his friends only on the even days of a given month. Write a program to check if he can go out in the month of August.
  27. Write a program to print the sum of negative numbers, sum of positive even numbers and the sum of positive odd numbers from a list of numbers (N) entered by the user. The list terminates when the user enters a zero.