From 6d1feb80417cca3a44eae404159ff8ae339246ec Mon Sep 17 00:00:00 2001 From: Udhay <72250606+Udhay-Brahmi@users.noreply.github.com> Date: Sat, 12 Dec 2020 09:20:01 +0530 Subject: [PATCH] Create Compute (a*b)%c --- Compute (a*b)%c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Compute (a*b)%c diff --git a/Compute (a*b)%c b/Compute (a*b)%c new file mode 100644 index 000000000..195585262 --- /dev/null +++ b/Compute (a*b)%c @@ -0,0 +1,7 @@ +class Solution{ +public: + long long mulMod(long long a, long long b, long long c){ + //complete the function here + return ( (a%c)*(b%c) )%c; + } +};