top of page
PROGRAMMING CHALLENGES
Exponent Calculator
Difficulty:
2 Medium
1.2 Arithmetic Operations
Topic:
Write a program that calculates the result of raising a base number to a power. The program should prompt the user to enter the base number and the exponent.
INPUTS: Base number (float), exponent (integer)
PROCESSES:
1. Accept user input for the base number and exponent
2. Use the exponentiation operator (**) to calculate the result
OUTPUTS: Result of the exponentiation (float)
PROCESSES:
1. Accept user input for the base number and exponent
2. Use the exponentiation operator (**) to calculate the result
OUTPUTS: Result of the exponentiation (float)
Need help with your programming skills?
If you need more help than just independent practise, then we're here for you. Book a 1:1 with us and we will be able to guide you to becoming a proficient programmer who can tackle any of the challenges an exam board can throw at you.
1 hr
40 British pounds1 hr
50 British pounds
bottom of page