How to calculate the value of 6%4 .with explanation
#include <bits/stdc++.h> using namespace std; int main() { int a,b; cin>>a>>b; // % modulo operator gives remainder as result. cout<<"a % b: "<<a%b; return 0; }
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment