In programming, you often see common patterns in the code. One of these patterns is called a counter. While you haven't needed them yet, you will when you begin working with loops that repeat actions.
In this program, edit the counter block on both sides of the equal so that the integer variable, result, is one more than its original value. When you run your program it should output the following text.
Result: 43
Coding:
Hotkey Shortcuts
Move BlocksUP or DOWN or TAB
Run Program ALT + SHIFT + R
Stop Program ALT + SHIFT + S
Hide Tray ALT + SHIFT + X
Zoom In ALT + +
Zoom Out ALT + -
Open Help ALT + SHIFT + H
Navigate to Tray ALT + 1
Navigate to Blocks ALT + 2
Enter Navigation Mode SHIFT + ENTER
Switch to Next Tab CTRL + ]
Switch to Previous TabCTRL + [
Blocks
Hint
Great job!
Try again
Remember, a counter adds to the current value in the variable. In other words, the counter should use the existing variable instead of counter, result = result + 1. Add the block from the tray into the program and change the name from counter to result.