题解 | #成绩输入输出#
成绩输入输出
http://www.nowcoder.com/practice/eb49750ef0de47168c21761de086d97c
# include <stdio.h>
int main ()
{
/*int score1 = 0;
int score1 = 0;
scanf();*/
int a,b,c;//直接整形定义三个变量
scanf ("%d %d %d",&a,&b,&c);//输入三个变量 用&(取地址符)
printf("score1=%d,score2=%d,score3=%d",a,b,c);
return 0;
}