The above code sets the variable x to 7 and then checks if x is greater than 5. Since 7 is indeed greater than 5, the indented block of code following the if statement will be executed. In this case, it will print the value 20.
So, if you run this code, the output will be:
20
0 Comments:
Post a Comment