001-006-005

Variable Declaration Placement: Temporary Result Storage

Easy

Problem Description

variable declaration Placement: Temporary Result Storage

In this problem, you will create a program that reads two integers, stores the addition and multiplication results in separate variables, and displays them to standard output.

Learning Objective: Understand appropriate variable declaration placement

Input two integers, store addition and multiplication results in separate variables, then output.

Input

Line 1: Integer a
Line 2: Integer b

Output

Sum: [a+b value]
Product: [a*b value]

Example

Input:

3
4

Output:

Sum: 7
Product: 12

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