Write a program that asks for positive integers. If the last integer inserted is a divisor of the last but one, and the last but one is a divisor of the one preceding it, the program will return the minimum of all the integers inserted. After that, the program should ask if the user wants to insert another set of integers.
E.g. the user may enter the following sequence: 5, 13, 1, 37, 12, 4, 2 at which point the program should stop, because 2 is a divisor of 4 and 4 is a divisor of 12. The program should print “The minimum among the numbers inserted is 1”. In c++