-
-
Save amankharwal/91161379008c638cc5f19af587d9e06b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main(){ | |
int dividend; | |
int divisor; | |
int quotient; | |
int remainder; | |
cout<<"Enter Dividend and Divisor (Dividend/Divisor): "; | |
cin>>dividend>>divisor; | |
quotient = dividend / divisor; | |
remainder = dividend % divisor; | |
cout<<"Quotient = "<<quotient<<endl; | |
cout<<"Remainder = "<<remainder<<endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment