Answers for "c logarithm check if number is base"

C
0

c logarithm check if number is base

Input:  n = 8
Output: true
8 can be expressed as 2^3

Input:  n = 49
Output: true
49 can be expressed as 7^2

Input:  n = 48
Output: false
48 can't be expressed as x^y
Posted by: Guest on February-21-2022

Code answers related to "C"

Browse Popular Code Answers by Language