Previous Next
0 / 15
Module DEMO-33-65DEMO-OOP-33

Admission Verdict

DEMO-OOP-33 โ€ข Object Oriented Programming

Browser-only practice

Problem Statement

Read exam score, interview score, and the documents flag, then print the admission verdict.

Input Format

Input is given as whitespace-separated tokens in this order:

  1. exam score
  2. interview score
  3. documents flag

Output Format

Print the exact report in this order:

  1. Verdict

Sample Testcases

Submit runs every public testcase in this browser. Results and code never leave this device.

Sample #1
Public sample
80
70
1
Verdict: ADMIT
Input: exam score = 80, interview score = 70, documents flag = 1.
Key calculation(s): String verdict | if (80 >= 70 && 70 >= 60 && 1 == 1) { | "Verdict: " + verdict = "Verdict: ADMIT".
Output:
Verdict: ADMIT
Sample #2
Public sample
70
60
1
Verdict: ADMIT
Input: exam score = 70, interview score = 60, documents flag = 1.
Key calculation(s): String verdict | if (70 >= 70 && 60 >= 60 && 1 == 1) { | "Verdict: " + verdict = "Verdict: ADMIT".
Output:
Verdict: ADMIT

Web terminal

C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.

Saved in this browser
Editor settings