Question: given three k m and n write a program that reads k , m and n and prints the largest factor of k that is

given three k m and n write a program that reads k,m and n and prints the largest factor of k that is present within the range of m to n inclusive if no factor is found within the range then print -1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!