001-004-009
Game Score Tracker
Easy
Problem Description
Game Score Tracker
Learning Objective: Understand how to assign values to variables and modify them later
Overview
Create a program that tracks a game score. Store the initial score in a variable, add bonus points, and display the final score.
Specifications
- Declare an integer variable
scoreand assign initial value 100 - Add 50 to
score(bonus points) - Output final score in format "Final Score: 150"
Output Format
Final Score: 150
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