セクション 1. 章 38
single
Challenge: Grade Categorizer
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Write a program that takes a student's score and outputs an alphabetical grade.
Use if, else if, and else statements to categorize the grade based on the following ranges:
- If the grade is 90 or higher →
"Grade: A". - If the grade is between 80 and 89 →
"Grade: B". - If the grade is between 70 and 79 →
"Grade: C". - If the grade is between 60 and 69 →
"Grade: D". - If the grade is below 60 →
"Grade: F".
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 1. 章 38
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください