Java program Input 2 number display calculation of no. With rise to another
Answers
Answered by
0
Explanation:
Java Program to Calculate Power of a Number
Given a number N and a power P, the task is to find the exponent of this number raised to the given power, i.e. NP.
Examples:
Input: N = 5, P = 2
Output: 25
Input: N = 2, P = 5
Output: 32
Similar questions
Science,
4 months ago
Science,
4 months ago
English,
4 months ago
Social Sciences,
8 months ago
Chemistry,
1 year ago