Question: Programming Assignment: Write a Java program that asks the user to enter in a power between 1 and 4 inclusive. Next, the program asks the
Programming Assignment: Write a Java program that asks the user to enter in a power between 1 and 4 inclusive. Next, the program asks the user to input a base between 20 and 30 inclusive. Your program then raises the base to the power and prints out the result Hint:You can use a for loop to multiply the base by itself the appropriate number of times or use the math library function pow
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
