Update modular_exponentiation.cpp

This commit is contained in:
Shri Prakash Bajpai 2020-10-14 18:46:59 +05:30 committed by GitHub
parent d0fceb37a9
commit 63b36a9809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,10 +56,10 @@ int main()
int num2 = 5;
int m = 13;
std::cout << "The value of "<<num1<<" raised to exponent "<<num2<<"
under modulo "<<m<<" is " << power(num1, num2, m);
std::cout << "The value of "<<num1<<" raised to exponent "<<num2<<
" under modulo "<<m<<" is " << power(num1, num2, m);
/// std::cout << "The value of "<<num1<<" raised to exponent "<<num2<<"
/// under modulo "<<m<<" is " << power(num1, num2, m);
/// " under modulo "<<m<<" is " << power(num1, num2, m);
}