标签:out str 链接 编程 main c++编程 ret ++ namespace
小学生c++编程资料
链接:https://pan.baidu.com/s/1FfOirxJ9rrY7rxtHUM4W_A
提取码:uqm9
#include<iostream> using namespace std; int main() { int n; cout<<"请输入编号:"; cin>>n; switch(n) { case 1: cout<<"寿仙菇"<<endl;break; case 2: cout<<"酒糟芋"<<endl;break; case 3: cout<<"下山笋"<<endl;break; case 4: cout<<"太师豆腐"<<endl;break; case 5: cout<<"孝子鱼"<<endl;break; case 6: cout<<"猪全福"<<endl;break; default: cout<<"无此编号的菜"<<endl; break; } return 0; }
标签:out str 链接 编程 main c++编程 ret ++ namespace
原文地址:https://www.cnblogs.com/kixiaoyuan/p/12695082.html