From a4ecefa573e20b73868e85dad461127d3a3517e2 Mon Sep 17 00:00:00 2001 From: kanishkasrivastava Date: Thu, 21 Oct 2021 16:49:32 +0000 Subject: [PATCH] added program for hacktoberfest 2021 --- Projects/C++/find_remainder.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Projects/C++/find_remainder.cpp diff --git a/Projects/C++/find_remainder.cpp b/Projects/C++/find_remainder.cpp new file mode 100644 index 00000000..0709d315 --- /dev/null +++ b/Projects/C++/find_remainder.cpp @@ -0,0 +1,15 @@ +#include +using namespace std; +int main() +{ + int t; + cin>>t; + while(t--) + { + int a,b,rem; + cin>>a>>b; + rem=a%b; + cout<