import java.util.Scanner;

public class Main

{

public static void main(String args[])

{

int base_value, Exponent_value, expo;

Scanner sc=new Scanner(System.in);

System.out.print("Enter the base_value");

base_value=sc.nextInt();

System.out.print("Enter the Exponent_value");

Exponent_value=sc.nextInt();

expo=Exponent_value;

long pow = 1;

while (Exponent_value != 0)

{

pow = pow * base_value;

--Exponent_value;

}

System.out.println(base_value +" to the pow " +expo + " is: "+pow);

}

}

Output:

Enter the base_value45

Enter the Exponent_value56

45 to the pow 56 is: 2153308479773530081

## Who is the Father of Exponents

## Java Exponent Operator Value Purpose in Programming

A power is usually represented by a base number and an exponent. What number is being multiplied is indicated by the base number. The exponent, which is a little number printed above and to the right of the base number, indicates the number of times the base number is multiplied. This is the main concept for mathematical method for Java Exponent to calculate power of number in Java. Java Exponent Operator to execute the math.pow in java for beginner.

## Base Number to Calculate Java Exponent Operator in Java

A number base is the amount of digits or combinations of digits used to represent numbers in a counting system. Any whole number greater than 0 can be used as a basis. The decimal system, sometimes known as base 10, is the most widely used number system. By Calculating java exponent will help the developers to perform mathematical operation in java. Java Exponent Operator it will print the exponent math power value in java programming language.

## Similar Programs

C# Program to print the numbers in the output

C# Program to print the nextline

How to add a single line comment in C# program

How to print the multiline comments in C# programming

C# Program to print the boolean value

C# Program to print the scientific numbers

C# Program to print the double value

C# Program to print the fibonacci series

Tkinter python 3 GUI hello world example program

Change background color GUI program in python tkinter

Print the factorial number program in Tkinter python

C# Program to change the value in declaration

C# Program to print the name as a string in the output

C# Program to merge the string values and display the message

C# Program to merge multiple string values in the output

C# Program to print the addition of two numbers

C# Program to declare the many variables