001-003-006
Variable Initialization: Student ID Card
Easy
Problem Description
variable Initialization: Student ID Card
In this problem, you will create a program that initializes school name and grade as fixed variables, reads a student name from input, and displays a formatted student ID card to standard output.
Learning Objective: Understand how to set initial values when declaring variables
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
================================
Ready to Try Running Code?
Log in to access the code editor and execute your solutions for this problem.
Don't have an account?
Sign Up