- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- 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 a pair of integers whose product is -12 and there lies seven integers between them.
Given: A pair of integers whose product is -12.
To find: We have to find the pair whose product is -12 and in which there lie seven integers between them.
Solution:
There are two possible pairs:
i) {-2 and 6}
Product = -2 x 6 = -12
And there lies seven integers between them - -1, 0, 1, 2, 3, 4, and 5
i) {-6 and 2}
Product = -6 x 2 = -12
And there lies seven integers between them - -5, -4, -3, -2, -1, 0 and 1.
Advertisements