#include <stdio.h>
int main()
{
int a,b;
float m,n,s;
a=m=b=n=25/3;// 25/3=8
//n是浮点型, 则n=8.0;
//b是整型,则b=8;
//m是浮点型,则m=8.0;
//a是整型,则a=8;
s=25/3.0;
// 25/3=8.3333...(s的值为8.33333..);
printf("%03d%2d%5.2f%5.1f",a,b,m,n);
//a=%3d对应三个空位:_ _ 8; a=%03d在空位上填写零: 0 0 8
//b=%2d对应两个空位: _ 8
//m=%5.2f对应五个空位,小数点(小数点占一位)后面的数字占两位:_ 8 . 0 0
//m=%5.1f对应五个空位,小数点后面的数字占一位:_ _ 8 . 0
//运行结果就是: 0 0 8 _ 8 _ 8 . 0 0 _ _ 8 . 0
putchar('\n');//换行符
printf("%5.2f",s);
//s=%5.2f: _ 8 . 3 3
}