OBJECTIVE OF THIS QUESTION: TO TEST STUDENTS’ KNOWLEDGE ON t…
OBJECTIVE OF THIS QUESTION: TO TEST STUDENTS’ KNOWLEDGE ON the LOOP. FOR THIS QUESTION, YOU ARE NOT TO USE POW() FUNCTION! YOU NEED TO USE A LOOP! USE OF POW() FUNCTION == ZERO FOR THIS QUESTION You can compute Pth power of a base number B by multiplying the base number ‘B’ p-times. Ex) 34 = 3x3x3x3 Create a script that will 1. Prompt the user to type in the base number B and the Power P. 2. Compute BP. 3. Display the Result. Please, use the following Demoshot as an Example!