Practice

Energy Efficiency A-rated Check

2023/Feb/Mar·Variant 1
EASYSelection

An appliance is classified as "A-rated" if its energy efficiency is 92% or greater.

Write a program that reads a real number representing the energy efficiency percentage and outputs "A-rated" if it meets the threshold. If the value is below 92, the program outputs nothing.

Input: A single real number representing energy efficiency (e.g. 92.0). Output: "A-rated" if efficiency >= 92, or nothing otherwise.

Example:

Input:  95
Output: A-rated
Premium is coming soon. All grading features are currently unlocked.

Sample Test Cases

Test 1: Above threshold
Inputs: 95
Expected: A-rated
Test 2: Exactly on threshold
Inputs: 92
Expected: A-rated
Press Ctrl+Enter to run your code
or Ctrl+Shift+Enter to grade
Energy Efficiency A-rated Check | IGCSE Pseudocode Compiler