ohjelmointilohkona
Ohjelmointilohko, often referred to as a code block, is a fundamental concept in programming. It represents a section of code that is grouped together logically, typically performing a specific task or set of operations. These blocks are often delimited by curly braces `{}` in many programming languages, such as C, Java, and JavaScript, or by indentation in languages like Python.
The purpose of an ohjelmointilohko is to define scope and control the flow of execution. Variables declared