Back To C++ Basic Index
//program to input two numbers and find their remainder (division) #include
#include
void main() { int a,b; int remainder; clrscr(); cout<<"enter value for a"; cin>>a; cout<<"enter value for b"; cin>>b; remainder=a%b; cout<<"remainder after dividing a by b is "<