001-002-006

Variable Assignment: Point Card Calculation

Easy

Problem Description

variable Assignment: Point Card Calculation

Learning Objective: Understand variable assignment operations and store calculation results in new variables

In this problem, you will create a program that reads a purchase amount, calculates 10% of it as earned points, and displays the result in a point card format to standard output.

Create a program that calculates shopping points. When you input the purchase amount, it calculates and displays points (10% of purchase amount).

Input

Line 1: Purchase amount (integer, yen)

Output

================================
      Point Card
================================
Purchase Amount: [amount] yen
Earned Points: [points] pt
================================
```java

## Examples

### Example 1: 1000 yen Purchase
Input:
```java
1000
```java
Output:
```java
================================
      Point Card
================================
Purchase Amount: 1000 yen
Earned Points: 100 pt
================================
```java

### Example 2: 2500 yen Purchase
Input:
```java
2500
```java
Output:
```java
================================
      Point Card
================================
Purchase Amount: 2500 yen
Earned Points: 250 pt
================================
```java

### Example 3: 100 yen Purchase
Input:
```java
100
```java
Output:
```java
================================
      Point Card
================================
Purchase Amount: 100 yen
Earned Points: 10 pt
================================

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