switch必玩游戲排行 在c語言中do……while和switch能不能嵌套使用?
在c語言中do……while和switch能不能嵌套使用?這是一個嘗試嘗試嘗試嘗試這樣做。Do{{printf(“please input the number of 1-6 to the numbe
在c語言中do……while和switch能不能嵌套使用?
這是一個嘗試嘗試嘗試嘗試這樣做。Do{{printf(“please input the number of 1-6 to the number of 1-6:”)scanf(%d”,&val)switch(VAL){case 1:printf(“11n”)printf(“2n”)printf(“22n”)printf(“333n”)printf(“4n”)printf(“44n) “”)printf(”4555n“”)printf(”66n“”)printf(”66666n“”)printf(“”)printf(“”)(n“”)分句4:printf(”1212n12121212nprintf(13131314141414141515151515151616161616161616161616161616161616161616161616161616161616175:破例5:5:printf(1818)1818181818181818n18181818181818181818181818181818181818181818181818181818181818181818181818n“)掃描(”%c“,&ch)}while(“y”==ch | | “y”==ch)