下列程序的输出结果为 【12】 。# include <iostream, h>vo
题型:填空题
问题:
下列程序的输出结果为 【12】 。# include <iostream, h>void Func(char ch){ switch (ch). { case ’A’: case ’a’ cout<<"优秀"<<end1; case ’B’: case ’b’: cout<<"良好"<<end1; break; case ’C’: case ’c’: cout<<"及格" <<end1 break; default cout<<"不及格"<<end1; }}void main(){ char ch1 =’b’ Fune(chl); Func(’A’);}