001-003-002

Variable Initialization: Student ID Card

Easy

Problem Description

variable Initialization: Student ID Card

Learning Objective: Understand how to set initial values when declaring variables

In this problem, you will create a program that initializes string variables with fixed school name and grade values, reads a student's name from standard input, and displays a formatted student ID card to standard output.

Create a program that displays a student ID card when you input student information. Initialize school name and grade as fixed values in variables, and receive the name from input.

Input

Line 1: Student name (string)

Output

================================
     Student ID Card
================================
School: JavaDrill High School
Grade: 1st year
Name: [name]
================================
```java

## Examples

### Example 1: Taro Tanaka's Student ID
Input:
```java
Taro Tanaka
```java
Output:
```java
================================
     Student ID Card
================================
School: JavaDrill High School
Grade: 1st year
Name: Taro Tanaka
================================

Test Cases

※ Output examples follow programming industry standards

Normal case
Input:
John Smith
Expected Output:
================================
  Student ID Card
================================
School: JavaDrill High School
Grade: 1st year
Name: John Smith
================================
Normal case
Input:
SuzukiHanako
Expected Output:
================================
  Student ID Card
================================
School: JavaDrill High School
Grade: 1st year
Name: SuzukiHanako
================================

Your Solution

Current Mode: My Code
import java.util.Scanner;

public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// Write your code here

sc.close();
}
}
0 B / 5 MB

You have 10 free executions remaining