Question

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

Solution

VerifiedStep 1

1 of 3DEFINITIONS

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

$q$ is called the $\textbf{quotient}$ and $r$ is called the $\textbf{remainder}$

$q=n\textit{ div }d$

$r=n\textit{ mod }d$

## Create a free account to view solutions

By signing up, you accept Quizlet's Terms of Service and Privacy Policy

## Create a free account to view solutions

By signing up, you accept Quizlet's Terms of Service and Privacy Policy

## Recommended textbook solutions

#### Discrete Mathematics and Its Applications

7th Edition•ISBN: 9780073383095 (8 more)Kenneth Rosen4,283 solutions

#### Discrete Mathematics and Its Applications

8th Edition•ISBN: 9781259676512 (3 more)Kenneth Rosen4,397 solutions

## More related questions

- prealgebra

1/4

- prealgebra

1/7