Simple Conditions – Problems
The second problem of the "Programming Basics" Practical Exam covers conditional statements and simple calculations. Participants in the exam should know how to implement simple logic using the if-else
conditional statements, as well as how to read and write data from the console and perform simple calculations.
Let's solve a few sample problems with simple conditions: