Write a program that reads in two floating-point numbers and tests (a) whether they are the same when rounded to two decimal places and (b) whether they differ by less than 0.01. Here are two sample runs.
Enter two floating-point numbers: 2.0 1.99998
They are the same when rounded to two decimal places.
They differ by less than 0.01.
Enter two floating-point numbers: 0.999 0.991
They are different when rounded to two decimal places.
They differ by less than 0.01.