import java.util.Scanner;
public class BaseAndExponent {
public static void main(String[] args)
{
int a;
int b;
Scanner scan = new Scanner(System.in);
System.out.println("Base");
}
}
"POWERS"
Compute the power of a number given the base and exponent. Do three versions of this
program using a while loop, a do-while loop and a for-loop.
Introduction
Please help..i don't know how to input this in java...please help.tnx
1 answer