Resolve line length errors in math/mod_inverse_by_fermat_theorem.cpp

This commit is contained in:
Mann Mehta 2020-05-09 17:33:08 +05:30
parent 563e29acae
commit c9fc01af7a

View File

@ -73,7 +73,7 @@ int main() {
std::cout << "The modular inverse of a with mod m is (a^(m-2)) : ";
std::cout << binExpo(a, m-2, m) << std::endl;
} else {
std::cout << "m must be a prime number to apply Fermat's Little Theorem.";
std::cout << "m must be a prime number.";
std::cout << std::endl;
}
}