Live Batches
Masterclasses
Menu
Free Courses
Account
Login / Sign Up
Problem Submissions Solution

Power of (a^b)

Difficulty: Easy

Acceptance: 85.00%

Points: 20.00

Description: You are given two integers a and b. Your task is to find the value of a raised to the power b (a^b) and print the result.

Topics

Companies

Articles

Examples:

N/A

Constraints:
  • Constraints: 1 < a < 50
  • 0 < b < 50
Companies:
Apple Samsung IBM
Topics:
Recursion
Locked Content
Access Restricted: Please Login to access the code editor and test cases.