001-002-016

Modulo Assignment

Easy

Problem Description

Modulo Assignment

In this problem, you will create a program that applies the modulo assignment operator (%=) to a variable and displays the calculated result to standard output.

Learning Objective: Understand the basics of modulo assignment

Overview

Use modulo assignment (%=) to update a variable's value and display the result.

Output Format

Result: 1

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