0% found this document useful (0 votes)
3 views

Java_Tutorial

Uploaded by

King Natsu
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Java_Tutorial

Uploaded by

King Natsu
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Tutorial1

1. Develop a Java program to calculate Simple Interest by taking input from user.
2. Develop a Java program to find quotient and remainder by taking input from user.
3. Develop a program to swap two numbers with and without using temporary variable
taking input from user.
4. Develop a Java Program to check entered number is Even or Odd.
5. Develop a Java program to check whether the input year is leap or not.
6. Develop a Java program to check input character is Vowel or Consonant.
7. Develop a Java program to calculate power of a number using for loop without using
inbuilt function.

Programs on java.lang.Math
8. Develop a program to calculate square root and power of a number using sqrt(),pow()
methods
9. Develop a program to calculate cube root of a number using cbrt() function,
10. Develop a program to returns the logarithmic and absolute value of the passed
argument using log() and abs() method.

You might also like