计算多个鞋尺码对应的英尺长度

#include

#define ADJUST 7.64

#define SCALE 0.325

void main()

{

    double shoe ,foot ;

    shoe =3.0;


    printf("shoe size (men's)foot lenth\n");

    while (shoe <18.5) {

       foot =SCALE * shoe +ADJUST;

        printf("%10.1f %15.2f inches \n ",shoe,foot);

        shoe +=1.0;

    }

    printf("IF the sho fits ,wear it \n");



}

你可能感兴趣的:(计算多个鞋尺码对应的英尺长度)