4 つの地域があります。a
b
c
d
これらの領域に数字を入れたいと思います。
switch ステートメントのみを使用してこれを行う方法:
the number divisible by 10 and divisible by 7 ın region a
the number divisible by 10 but not divisible by 7 ın region b
the number not divisible by 10 but divisible by 7 ın region c
the number not divisible by 10 and divisible by 7 ın region d
たとえば、次の場合:
input 770 out put is a
input 200 output b
input 154 output c