001-002-012

Addition Assignment

Easy

Problem Description

Addition Assignment

In this problem, you will create a program that uses the addition assignment operator (+=) to add a value to a variable and displays the result to standard output.

Learning Objective: Understand the basics of addition assignment

Overview

Implement addition assignment and display the result.

Output Format

Result: 8

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