- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

# Write all the integers between the given pairs (write them in the increasing order.)

**(a)** 0 and $ -7 $

**(b)** $– 4$ and 4

**(c)** $– 8$ and $– 15$

**(d)** $– 30$ and $– 23$

To do:

We have to write all the integers between the given pairs of numbers.

Solution:

(a) Here,

$-7<0$

Therefore,

$-6, -5, -4, -3, -2, -1$ are the integers between $-7$ and $0$.

(b) Here,

$-4<4$

Therefore,

$-3, -2, -1, 0, 1, 2, 3$ are the integers between $-4$ and $4$.

(c) Here,

$-15<-8$

Therefore,

$-14, -13, -12, -11, -10, -9$ are the integers between $-15$ and $-8$.

(d) Here,

$-30<-23$

Therefore,

$-29, -28, -27, -26, -25, -24$ are the integers between $-30$ and $-23$.

- Related Questions & Answers
- Find position of the given number among the numbers made of 4 and 7 in C++
- Find the nth term of the given series 0, 0, 2, 1, 4, 2, 6, 3, 8, 4… in C++
- C++ program to find nth Term of the Series 1 2 2 4 4 4 4 8 8 8 8 8 8 8 8 …
- Write the difference between debentures and bonds.
- Write the difference between leasing and financing.
- Write the difference between tax and duty.
- Write the difference between duty and tariff.
- Write the difference between loan and mortgage.
- Write the difference between shareholder and stakeholder.
- Write the difference between investment and speculations.
- Write the difference between licensing and franchising.
- Write the difference between dividend and growth.
- Write the difference between securitization and factoring.
- Write the differences between VAT and GST
- Find all pairs (a,b) and (c,d) in array which satisfy ab = cd in C++
- Write the differences between mutual funds and stock.

Advertisements