Topic: switch ... 程式寫成這樣實在是非常嚕囌,這時候可以用switch-case 來代換上面的程式: ... char c; scanf ("%c", &c); switch (c) { case 'A': A ();
確定! 回上一頁