#include stdio . h #include stdlib . h int main () { int a , b , c ; double s ; while ( scanf ( "%d%d%d" , a , b , c ) ( a != 0 b != 0 c != 0 )){ s = a * 1.0 / b ; printf ( "%.*lf\n" , c , s );} return 0 ; }
#include<stdlib.h>
int main()
{
int a,b,c;
double s;
while(scanf("%d%d%d",&a,&b,&c)&&(a!=0&&b!=0&&c!=0)){
s=a*1.0/b;
printf("%.*lf\n",c,s);}
return 0;
}