2024-01-12 20:48:35 +08:00
|
|
|
#include <stdio.h>
|
|
|
|
|
int main()
|
|
|
|
|
{
|
|
|
|
|
double a,b,c;
|
|
|
|
|
while(scanf("%lf%lf", &a, &b) != EOF)
|
|
|
|
|
{
|
|
|
|
|
if (b!=0)
|
|
|
|
|
{
|
|
|
|
|
c=a/b;
|
|
|
|
|
printf("%.2f\n", c);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
printf("error\n");
|
|
|
|
|
}
|
2024-05-20 19:45:47 +08:00
|
|
|
|
2024-01-12 20:48:35 +08:00
|
|
|
return 0;
|
2024-05-20 19:45:47 +08:00
|
|
|
}
|