From b5c7ffaac54292b82ac531da8d390c350e398d4a Mon Sep 17 00:00:00 2001 From: Udhay <72250606+Udhay-Brahmi@users.noreply.github.com> Date: Fri, 25 Dec 2020 08:05:09 +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 0000000..1955852 --- /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; + } +};