#include<stdio.h>
#include<stdlib.h>
int main()
{
char *s=" 0.1 0.125 2.3";
char t[20];
int i=0;
float f;
while(*s)
{
if(*s!=' ')
{
t[i++]=*s++;
if(*s=='\0')
{
t[i]='\0';
f=atof(t);
printf("%f\n",f);
}
}
else
{
if(i)
{
t[i]='\0';
f=atof(t);
printf("%f\n",f);
i=0;
}
*s++;
}
}
return 0;
}