Question: Hello I am trying to make a C program that finds the quotient and remainder using putty. Here is a sample execution: Enter dividend and
Hello I am trying to make a C program that finds the quotient and remainder using putty.
Here is a sample execution:
Enter dividend and divisor: 17 5
The quotient is 3
The remainder is 2
Here is the information I am given
int main(void)
{
int dividend;
int divisor;
int quot;
int rem;
get_data ( ); // Gets dividend and divisor
divide ( ); // Finds the quotient and remainder
print ( );
return 0;
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
