13
109
984
高级会员
sgsdgsg
#include <iostream> using namespace std; int main() { char a; cin >>a; if(a == 'h'){ cout << "He"; }else if (a == 'l'){ cout << "Li"; }else if (a == 'c'){ cout << "Cao"; }else if (a == 'd'){ cout << "Duan"; }else if (a == 'w'){ cout << "Wang"; }else{ cout << "Not Here"; } return 0; }
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|东台市机器人学会 ( 苏ICP备2021035350号-1;苏ICP备2021035350号-2;苏ICP备2021035350号-3 )
GMT+8, 2024-11-23 16:16 , Processed in 0.034857 second(s), 23 queries .
Powered by Discuz! X3.4
Copyright © 2001-2020, Tencent Cloud.