while (distance < 400.0)
{
    printf("Keep running!");
    distance += 0.1;
}