You are required to write a program that finds the number (in the given range) which has maximum number of divisors. The program first asks the user to input two values P and Q for a range (where p < Q). After that, the program should find a number having highest number of divisors. In the end, the program should print that numbers (having highest number of divisors) along its divisor count.

I think you missed the most important part of the assignment.

You are required to write a program...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.