Challenge: Initialize a Variable and Overwrite its Value
Explore how to declare an integer variable in C++, initialize it with a value, then overwrite and print the updated value. This hands-on challenge helps you understand basic variable operations and output formatting in C++.
We'll cover the following...
We'll cover the following...
Problem statement
In this challenge, your task is to:
- Declare a variable:
int var - Initialize
varto5000 - Print the