#include<stdio.h> int main() { int a=45,b=40,c=50,d; d=a>30?b:c; switch(d) { case 30:printf("%d,",a); case 40:printf("%d,",b); caes 50:printf("%d,",c); default:printf("#"); } return 0; }
相关分类