Try the fastest way to create flashcards
Question

Evaluate the expressions. a. 30 div 2 b. 30 mod 2

Solution

Verified
Step 1
1 of 3

DEFINITIONS

Quotient-Remainder theorem\textbf{Quotient-Remainder theorem} Let nn be an integer and dd a positive integer. Then there are unique integers qq and rr with 0r<d0\leq r<d such that n=dq+rn=dq+r

qq is called the quotient\textbf{quotient} and rr is called the remainder\textbf{remainder}

q=n div dq=n\textit{ div }d

r=n mod dr=n\textit{ mod }d

Create a free account to view solutions

Create a free account to view solutions

Recommended textbook solutions

Discrete Mathematics and Its Applications 7th Edition by Kenneth Rosen

Discrete Mathematics and Its Applications

7th EditionISBN: 9780073383095 (8 more)Kenneth Rosen
4,283 solutions
Discrete Mathematics 8th Edition by Richard Johnsonbaugh

Discrete Mathematics

8th EditionISBN: 9780321964687Richard Johnsonbaugh
4,246 solutions
Discrete Mathematics and Its Applications 8th Edition by Kenneth Rosen

Discrete Mathematics and Its Applications

8th EditionISBN: 9781259676512 (3 more)Kenneth Rosen
4,397 solutions
Discrete Mathematics with Applications 5th Edition by Susanna S. Epp

Discrete Mathematics with Applications

5th EditionISBN: 9781337694193Susanna S. Epp
2,641 solutions

More related questions

1/4

1/7