Enter a number => 4.56 4.56 Rounded to an integer is: 5 4.56 Rounded to the tenths is: 4.6 4.56 Rounded to the hundreds is: 4.56 4.56 Rounded to the thousands is: 4.56 Do you want to quit? (Y/N)n Enter a number => 6.789 6.789 Rounded to an integer is: 7 6.789 Rounded to the tenths is: 6.8 6.789 Rounded to the hundreds is: 6.79 6.789 Rounded to the thousands is: 6.789 Do you want to quit? (Y/N)y Enter a number => 6.7899 6.7899 Rounded to an integer is: 7 6.7899 Rounded to the tenths is: 6.8 6.7899 Rounded to the hundreds is: 6.79 6.7899 Rounded to the thousands is: 6.79 Do you want to quit? (Y/N)Y