Chap5 运算符、表达式和语句
单词:scale 比例。shoe 鞋子
#include <stdio.h>
#define ADJUST 7.31
int main(void)
{
const double SCALE=0.333;
double shoe,foot;
shoe = 9.0;
foot = SCALE*shoe + ADJUST;
printf("Shoe size (men's) foot length\n");
printf("%10.1f %15.2f inches\n",shoe,foot);
return 0;
}
该程序假设穿的
标签:学习指南,int,void,第五章,sec,shoe,printf,foot From: https://www.cnblogs.com/hbdxlzy/p/18088001