# Java program to find power of any number using Math.pow()

Quick links

Write a Java program to find power of any number using `Math.pow()`. In this article, we will learn about `Math.pow()` function. And see how to find power of any number in Java.

# Java program to convert days to years weeks and days

Quick links

Write a Java program to input days from user and find total years, weeks and days. How to convert days to years weeks and days in Java programming.

# Java program to convert Fahrenheit to Celsius

Quick links

Write a Java program to input temperature in Fahrenheit from user and convert to Celsius. How to convert Fahrenheit to Celsius in Java programming.

In the previous post, I explained to convert temperature from Celsius to Fahrenheit. In this post, we learn how to convert Fahrenheit to Celsius in Java.

# Java program to convert Celsius to Fahrenheit

Quick links

Write a Java program to input Celsius from user and convert temperature from Celsius to Fahrenheit. How to convert Celsius to Fahrenheit in Java.

In this on going Java programming examples, we will continue to enhance basic Java programming skills. In this post we will learn to convert given temperature from Celsius to Fahrenheit in Java.

# Java program to convert centimeter to inch, meter and kilometer

Quick links

Write a Java program to input centimeter and convert to inch, meter and kilometer. How to convert centimeter to inch, meter and kilometer in Java programming.

# Java program to find diameter, circumference and area of circle

Quick links

Write a Java program to input radius of circle and find diameter, circumference and area of circle. Logic to find diameter circumference and area of circle.

# Java program to perform all arithmetic operations

Write a Java program to perform all arithmetic operation. How to perform arithmetic operations in Java programming. In this example we will learn to input two integer from user and perform all arithmetic operations.

Example
Input

```First number: 15
Second number: 4```

Output

```Sum : 19
Difference : 11
Product : 60
Quotient : 3
Modulus : 3```

# Java program to add two numbers and print result

Write a Java program to input two numbers add two numbers. In this example we will learn to use arithmetic operator to find sum of two numbers. We will learn to input two number from user and find sum of two numbers in Java.

Example
Input

```First number: 10
Second number: 5```

Output

`Sum of 10 and 5 is : 15`

# Hello world program in Java

Programming in Java has always been fun for me. With this post I begin the Java programming tutorials journey. In this post, we will learn how to write a simple Hello world program in Java. We will learn basic structure of a Java program, how to write, compile and execute a Java program.