001-005-001

Variable as Value Assignment: Point Copy

Easy

Problem Description

variable as Value Assignment: Point Copy

In this problem, you will create a program that declares two int variables, copies Card A's points to Card B's variable, and displays each card's points to standard output.

Learning Objective: Understand how to copy variable values to another variable

You have two point cards. Input current points for Card A and copy them to Card B. Display points for each card.

Input

Line 1: Current points for Card A (integer, pt)

Output

================================
      Point Copy
================================
Card A: [points]pt
Card B: [points]pt (Copy Complete)
================================
```java

## Examples

### Example 1: Copy 500pt
Input:
```java
500
```java
Output:
```java
================================
      Point Copy
================================
Card A: 500pt
Card B: 500pt (Copy Complete)
================================

Test Cases

※ Output examples follow programming industry standards

Normal case
Input:
300
Expected Output:
================================
  Point Copy
================================
Card A: 300pt
Card B: 300pt (Copy Complete)
================================
Normal case
Input:
1250
Expected Output:
================================
  Point Copy
================================
Card A: 1250pt
Card B: 1250pt (Copy Complete)
================================

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