//prg to read 2 no & print Quotient & Remainder
//Downloaded From www.c4cpp.co.nr. (C)2009.All rights reserved.
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int q,r,a,b;
cout<<"Enter 2 nos :"<<endl;
cin>>a>>b;
q=a/b;
r=a%b;
cout<<"Quotient = "<<q<<endl<<"Remainder = "<<r;
getch();
}
Programs Can Also Be Downloaded From The Folders Below....[Or Scroll Down]
Quotient & Remainder
Click Here To Download C++ File Of This Program
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment