Write a program that reads in two floating-point numbers


Write a program that reads in two floating-point numbers and tests whether they are the same up to two decimal places. Here are two sample runs. Enter two floating-point numbers: 2.0 1.99998 They are the same up to two decimal places. Enter two floating-point numbers: 2.0 1.98999 They are different.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a program that reads in two floating-point numbers
Reference No:- TGS0571245

Expected delivery within 24 Hours