Skip to content

chait04/cracking-DSA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cracking-Dsa - Java

  • This repo contains/will contain the things i have learned during the course
Kunal Jav



Kunal Java

First Java Program

Write Java program in following

  1. Write a program to print factorial of a number, also take input.
  2. Write a program to print whether a number is even or odd, also take input.
  3. Take name as input and print a greeting message for that name.
  4. Write a program to input principle, time and rate (P, T, R) from user and find Simple Interest.
  5. Take in two numbers and an operator (+, -, *, /) and calculate the value. (Use if conditions)
  6. Take 2 numbers as input and print the largest number.
  7. Input a number and print all the factors of that number (use loops).
  8. Input currency in rupee and output in dollar.
  9. Take integer inputs till the user enters 0 and print the sum of all numbers (HINT: while loop)
  10. Take integer inputs till the user enters 0 and print the largest number from all.



Conditionals and Loops - Assignment

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 Prism
  19. Curved Surface Area Of Cube
  20. Total Surface Area Of Cylinder
  21. Fibonacci Series In Java Programs

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. Deprecation Program
  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

About

java/ javascript-typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages