This is a repository for the solutions of JAVA questions
- Input a year and find whether it is a leap year or not.
- Take two numbers and print the sum of both.
- Take a number as input and print the multiplication table for it.
- Take 2 numbers as inputs and find their HCF and LCM.
- Keep taking numbers as inputs till the user enters ‘x’, after that print sum of all.
- Write a program to print whether a number is even or odd, also take input from the user.
- Take name as input and print a greeting message for that particular name.
- Write a program to input principal, time, and rate (P, T, R) from the user and find Simple Interest.
- Take in two numbers and an operator (+, -, *, /) and calculate the value. (Use if conditions)
- Take 2 numbers as input and print the largest number.
- Input currency in rupees and output in USD.
- To calculate Fibonacci Series up to n numbers.
- To find out whether the given String is Palindrome or not.
- To find Armstrong Number between two given number.
- Area Of Circle Java Program
- Area Of Triangle
- Area Of Rectangle Program
- Area Of Isosceles Triangle
- Area Of Parallelogram
- Area Of Rhombus
- Area Of Equilateral Triangle
- Perimeter Of Circle
- Perimeter Of Equilateral Triangle
- Perimeter Of Parallelogram
- Perimeter Of Rectangle
- Perimeter Of Square
- Perimeter Of Rhombus
- Volume Of Cone Java Program
- Volume Of Prism
- Volume Of Cylinder
- Volume Of Sphere
- Volume Of Pyramid
- Curved Surface Area Of Cylinder
- Total Surface Area Of Cube
- Fibonacci Series In Java Programs
- Subtract the Product and Sum of Digits of an Integer
- Input a number and print all the factors of that number (use loops).
- Take integer inputs till the user enters 0 and print the sum of all numbers (HINT: while loop)
- Take integer inputs till the user enters 0 and print the largest number from all.
- Addition Of Two Numbers
- Factorial Program In Java
- Calculate Electricity Bill
- Calculate Average Of N Numbers
- Calculate Discount Of Product
- Calculate Distance Between Two Points
- Calculate Commission Percentage
- Power In Java
- Calculate Depreciation of Value
- Calculate Batting Average
- Calculate CGPA Java Program
- Compound Interest Java Program
- Calculate Average Marks
- Sum Of N Numbers
- Armstrong Number In Java
- Find Ncr & Npr
- Reverse A String In Java
- Find if a number is palindrome or not
- Future Investment Value
- HCF Of Two Numbers Program
- LCM Of Two Numbers
- Java Program Vowel Or Consonant
- Perfect Number In Java
- Check Leap Year Or Not
- Sum Of A Digits Of Number
- Kunal is allowed to go out with his friends only on the even days of a given month. Write a program to count the number of days he can go out in the month of August.
- 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