Post a New Question

JAVA PROGRAMMING

posted by on .

"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

  • JAVA PROGRAMMING - ,

    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");
    }
    }

Answer This Question

First Name:
School Subject:
Answer:

Related Questions

More Related Questions

Post a New Question