Update math/binary_exponent.cpp

Co-Authored-By: John Law <johnlaw.po@gmail.com>
This commit is contained in:
Mann Mehta
2020-04-04 17:29:11 +05:30
committed by GitHub
parent bcb3677f78
commit 1d4a67c6ea

View File

@@ -23,7 +23,7 @@ int binExpo(int a, int b) {
int main() {
int a, b;
/// Give two nos as a^b (where '^' denotes power exponent operation)
/// Give two numbers a, b
std::cin >> a >> b;
/// Result of a^b
std::cout << binExpo(a, b) << std::endl;