Explore
ProGrad Programs
Placement Prep
TCS Codevita
Live Placement Training
Live Aptitude Training
Live Programming Training
Webinars
About Us

Edit
Reply




Edit

Program to find the number of integers with exactly 9 divisors | FACE Prep

Published on 09 Mar 2020

Given a number N, we need to find the total number of integers with exactly 9 divisors within the given range N.


Test cases:

Input:
100

Output:
2
36 100

Divisors of 36 = 1, 2, 3, 4, 6, 9, 12, 18, 36
Divisors of 100 = 1, 2, 4, 5, 10, 20, 25, 50, 100


Number of Integers with exactly 9 divisors


C
C++
Java
Python 3

Output
Input- Enter the number:100 The number which has exactly 9 divisors 36 100 Output- Total =2


Recommended Programs





If you have any feedback about this article and want to improve this, please write to enquiry@faceprep.in