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

Contact Initial Reader

DEMO-OOP-33 โ€ข Object Oriented Programming

Browser-only practice

Problem Statement

Read two raw name tokens. Treat NULL as a missing value and handle the null contact case.

Input Format

Input is given as whitespace-separated raw tokens exactly in the order described by the problem statement.

Output Format

Print the exact success report or exact error message required by the problem.

Sample Testcases

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

Sample #1
Public sample
Lina
Saleh
Initials: LS
Input: raw first name = "Lina", raw last name = "Saleh".
Derivation: first initial = "L" and last initial = "S" | "Initials: " + "LS" = "Initials: LS".
Output:
Initials: LS
Sample #2
Public sample
omar
ali
Initials: OA
Input: raw first name = "omar", raw last name = "ali".
Derivation: first initial = "O" and last initial = "A" | "Initials: " + "OA" = "Initials: OA".
Output:
Initials: OA

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