- In this program, the user is asked to enter two integers (dividend and divisor). They have stored in variables dividend and divisor respectively.
- If the user gives input zero in the divisor stage then the program will execute. Because numbers can not be divided zero in math.
- Then the quotient is evaluated using / (the division operator), and stored in quotient
- Similarly, the remainder is evaluated using % (the modulo operator) and stored in the remainder
- Finally, the quotient and remainder are displayed as output
-
Notifications
You must be signed in to change notification settings - Fork 0
asifhossian/Find-Quotient-and-Remainder
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
C Program that could find out and Compute Quotient and Remainder in a division operation
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published