#include <iostream> using namespace std ; int main (){ /* Q- Write a program where the user is asked to enter two integers ( divisor and dividend) and the quotient and the remainder of their divison is computed . ( Both divisor and dividend should be integers). int dividend, divisor, quotient , remainder; cout<<"Enter your dividend : "; cin>>dividend; cout<<"Enter your divisor : "; cin>>divisor; quotient = dividend/divisor; remainder = dividend%divisor; cout<<"The quotient is : "<<quotient<<endl <<"The rema...
Comments
Post a Comment