- 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 first five multiples of:

**(a)** 5

**(b)** 8

**(c)** 9

To do:

We have to write first five multiples of the given numbers.

Solution:

(a) The required multiples are:

$5 \times 1 = 5$

$5 \times 2 = 10$

$5 \times 3 = 15$

$5 \times 4 = 20$

$5 \times 5 = 25$

Hence, the first five multiples of 5 are $5, 10, 15, 20$ and $25$.

(b) The required multiples are:

$8 \times 1 = 8$

$8 \times 2 = 16$

$8 \times 3 = 24$

$8 \times 4 = 32$

$8 \times 5 = 40$

Hence, the first five multiples of 8 are $8, 16, 24, 32$ and $40$.

(c) The required multiples are:

$9 \times 1 = 9$

$9 \times 2 = 18$

$9 \times 3 = 27$

$9 \times 4 = 36$

$9 \times 5 = 45$

Hence, the first five multiples of 9 are $9, 18, 27, 36$ and $45$.

- Related Questions & Answers
- Multiples of 3 and 5 without using % operator in C++
- Print first m multiples of n in C#
- Find last five digits of a given five digit number raised to power five in C++
- Find FIRST & FOLLOW for the following Grammar. S → A a A | B b B A → b B B → ε
- Sum of series 2/3 – 4/5 + 6/7 – 8/9 + …… upto n terms
- Larger of a^b or b^a in C++
- Find Multiples of 2 or 3 or 5 less than or equal to N in C++
- Differences between Java 8 and Java 9?
- Constructing an array of first n multiples of an input number in JavaScript
- Multiples of 3 or 7 in C++
- Print first m multiples of n without using any loop in Python
- How to write the first C++ program?
- Array of multiples - JavaScript
- MongoDB query to skip first 5 records and display only the last 5 of them
- Show that the following grammar is LR (1) S → A a |b A c |B c | b B a A → d B → d
- Rule of Three vs Rule of Five in C++?

Advertisements