セクション 3. 章 17
single
Challenge: Switch
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Your task is to complete the PrintPlanDescription method so that it uses a switch statement to print the correct plan or day description based on the numeric code provided by the user.
- If the code is 1, print "Basic Plan".
- If the code is 2, print "Standard Plan".
- If the code is 3, print "Premium Plan".
- If the code is 4, print "Weekend".
- If the code is 5, print "Holiday".
- For any other code, print "Invalid code".
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 3. 章 17
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください