Computer Science, asked by bedantikamondal07, 3 months ago

Write a java program to calculate the 10th power of a number by using math.pow function.​

Answers

Answered by atrs7391
2

package Brainly_Answers;

import java.util.Scanner;

class test

{

   public static void main (String[]args)

   {

       Scanner sc = new Scanner(System.in);

       System.out.println("Enter number: ");

       double n = sc.nextDouble();

       System.out.println("The 10TH power of the number is: "+(Math.pow(n,10)));

   }

}

Similar questions