print the twice of 15 using java program
Answers
Answered by
2
import java.io.*;
class power
{
public static void main ()
{
int x=15;
int y=Math.pow(15,2);
System.out.println("Twice of 15 is "+y);
}
}
Hope this helps.
please follow me.
class power
{
public static void main ()
{
int x=15;
int y=Math.pow(15,2);
System.out.println("Twice of 15 is "+y);
}
}
Hope this helps.
please follow me.
Similar questions