/* Function print_rboxed */
/* Displays a real number in a box */
#include <stdio.h>
void
print_rboxed(double rnum)
{
printf("***********\n");
printf("* *\n");
printf("* %7.2lf *\n", rnum);
printf("* *\n");
printf("***********\n");
}
int
main (void)
{
double n;
printf ("Enter a real number: ");
scanf ("%lf", &n);
print_rboxed (n);
return (0);
}