# (a) Write a pair of negative integers whose difference gives $8$.(b) Write a negative integer and a positive integer whose sum is $-5$.(c) Write a negative integer and a positive integer whose difference is $-3$.

#### Complete Python Prime Pack

9 Courses     2 eBooks

#### Artificial Intelligence & Machine Learning Prime Pack

6 Courses     1 eBooks

#### Java Prime Pack

9 Courses     2 eBooks

To do :

We have to write

(a) a pair of negative integers whose difference gives $8$.

(b) a negative integer and a positive integer whose sum is $-5$.

(c) a negative integer and a positive integer whose difference is $-3$.

Solution :

(a) Difference is $8$.

Let us consider $-3$ and $-11$

Difference $=-3-(-11)$

$=-3+11$

$=8$

(b) Sum is $-5$

Let us consider $4$ and $-9$

Sum $=4 + (-9) = -5$

(c) Difference is $-3$.

Let us consider $-1$ and $2$

Difference $=(-1) - (2) = -(1+2) = -3$.

Updated on 10-Oct-2022 13:31:02