001-001-012
Integer Declaration
Easy
Problem Description
Integer Declaration
In this problem, you will create a program that declares an int variable, assigns an integer value to it, and displays the result in a specified format to standard output.
Learning Objective: Understand the basics of integer declaration
Overview
Declare an int variable, assign the value 42 to it, and print it in the format "Value: 42".
Output Format
Value: 42
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