#include #include float RoundToHundredths(float number); int main() { float a; float y; printf("Please enter the number \n"); scanf("%f",&a); y=RoundToHundredths(a); printf("The original number is: %.4f \n The rounded number is %.2f",a,y); } float RoundToHundredths(float number){ return (floor(number*100+0.5))/100; }