001-005-007

Variable as Value Assignment: Point Copy

Easy

Problem Description

Variable as Value Assignment: Point Copy

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)
================================

Examples

Example 1: Copy 500pt

Input:

500

Output:

================================
      Point Copy
================================
Card A: 500pt
Card B: 500pt (Copy Complete)
================================

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