Previous Next
0 / 10
Module DEMO-33-64DEMO-OOP-33

Project Status Formatter

DEMO-OOP-33 โ€ข Object Oriented Programming

Browser-only practice

Problem Statement

Create Main.java and ProjectStatus.java. Read a project name, owner name, and version number, then print the formatted project report.

Input Format

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

  1. project name
  2. project owner
  3. version number

Output Format

Print the exact report in this order:

  1. Project
  2. Owner
  3. Version

Sample Testcases

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

Sample #1
Public sample
Compiler
Lina
2
Project: Compiler
Owner: Lina
Version: v2
Input: project name = "Compiler", project owner = "Lina", version number = 2.
Key calculation(s): versionLine = "v" + 2 | "Project: " + "Compiler" = "Project: Compiler" | "Owner: " + "Lina" = "Owner: Lina".
Output:
Project: Compiler
Owner: Lina
Version: v2
Sample #2
Public sample
Visualizer
Omar
5
Project: Visualizer
Owner: Omar
Version: v5
Input: project name = "Visualizer", project owner = "Omar", version number = 5.
Key calculation(s): versionLine = "v" + 5 | "Project: " + "Visualizer" = "Project: Visualizer" | "Owner: " + "Omar" = "Owner: Omar".
Output:
Project: Visualizer
Owner: Omar
Version: v5

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