1999-02-07 00:06:12 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
main (void)
|
|
|
|
|
{
|
|
|
|
|
double d;
|
|
|
|
|
int c;
|
|
|
|
|
|
2000-07-22 07:26:13 +00:00
|
|
|
if (scanf ("%lg", &d) != 0)
|
1999-02-07 00:06:12 +00:00
|
|
|
{
|
|
|
|
|
printf ("scanf didn't failed\n");
|
|
|
|
|
exit (1);
|
|
|
|
|
}
|
|
|
|
|
c = getchar ();
|
|
|
|
|
if (c != ' ')
|
|
|
|
|
{
|
|
|
|
|
printf ("c is `%c', not ` '\n", c);
|
|
|
|
|
exit (1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
}
|