c*d

CF

Find numbers such that A*B = C*D

A set of numbers (atleast 4 numbers) will be passed as input. The program must find four numbers A,B,C,D such that A*B = C*D and print the…