Computer Science, asked by anjali3727, 1 year ago

write a java program to calculate and assume a number and raising to the power 4​

Answers

Answered by proashutosh5
1

class a

{

public static void main (int a)

{

int b = 4

System.out.println ("The number" + a + "raised to the power" + b + "is" Math.pow(a,b)) ;

}

}

Answered by Anonymous
1

Answer:

class a

{

public static void main (int a)

{

int b = 4

System.out.println ("The number" + a + "raised to the power" + b + "is" Math.pow(a,b)) ;

}

}

Explanation:

Similar questions