Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Grade Categorizer | Section
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
JavaScript Essentials for Beginners - 1768407374405

bookChallenge: Grade Categorizer

Завдання

Swipe to start coding

Write a program which takes a student's score and outputs an alphabetical grade for it.

Use if, else if, and else clauses to categorize the grade based on the given ranges:

  • If the grade is 90 or higher, print: "Grade: A".
  • If the grade is between 80 and 89, print: "Grade: B".
  • If the grade is between 70 and 79, print: "Grade: C".
  • If the grade is between 60 and 69, print: "Grade: D".
  • If the grade is below 60, print: "Grade: F".

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 40
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

close

bookChallenge: Grade Categorizer

Свайпніть щоб показати меню

Завдання

Swipe to start coding

Write a program which takes a student's score and outputs an alphabetical grade for it.

Use if, else if, and else clauses to categorize the grade based on the given ranges:

  • If the grade is 90 or higher, print: "Grade: A".
  • If the grade is between 80 and 89, print: "Grade: B".
  • If the grade is between 70 and 79, print: "Grade: C".
  • If the grade is between 60 and 69, print: "Grade: D".
  • If the grade is below 60, print: "Grade: F".

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 40
single

single

some-alt