witchcase

#include "stdafx.h"
#include
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
int b=1;
switch (b+2){
case 1 : { cout<<"b="<<b<<endl;}
case 3 : { cout<<"b="<<b<<endl;}
case 9 : { cout<<"b="<<b<<endl;}
}
while(1);
return 0;
}
posted @ 2019-10-15 11:28  tangjunjun  阅读(137)  评论(0)    收藏  举报
https://rpc.cnblogs.com/metaweblog/tangjunjun