上传者: 43934844
|
上传时间: 2022-06-20 14:04:20
|
文件大小: 59KB
|
文件类型: DOC
《C语言与程序设计》第四章 班级:CS1203班 姓名:余云凯 学号:U201214869 4.1 #include int main(void) { char name1 = 'A',name2 = 'B',name3 = 'C'; int mark1,mark2,mark3; printf("input mark1,mark2,mark3: "); scanf("%d,%d,%d",&mark1,&mark2,&mark3); if (mark1>mark2&&mark2>mark3""mark1mark3&&mark3>mark2""mark1mark1&&mark1>mark3""mark2