IO-04. 混合类型数据格式化输入

 1 /**
 2 *A4-IO-04. 混合类型数据格式化输入
 3 *C语言实现
 4 *测试已通过
 5 */
 6 #include "stdio.h"
 7 
 8 int main()
 9 {
10     float m1,m2;
11     int n;
12     char c;
13     
14     scanf("%f %i %c %f",&m1,&n,&c,&m2);
15     printf("%c %i %.2f %.2f\n",c,n,m1,m2);
16     
17     return 0;
18 }

 

posted @ 2014-06-01 15:13  Boomkeeper  Views(1780)  Comments(0Edit  收藏  举报
最好的流量统计 网站流量计数器