- 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 down separately the prime and composite numbers less than 20 .
To do:
We have to write separately the prime and composite numbers less than 20.
Solution:
Prime numbers are those numbers that are divisible by themselves and 1.
Composite numbers are those numbers that are NOT prime numbers.
$2, 3, 5, 7, 11, 13, 17$ and $19$ are the prime numbers less than 20.
$4, 6, 8, 9, 10, 12, 14, 15, 16$ and $18$ are the composite numbers less than 20.
Advertisements