The middle part of the figure begins with
STOP! and an end
\\. The count of the underscores
(underscopes - 5) / 2.
The lower part of the figure, in which the width of the sign decreases, can be done by making another loop, which recurs
n times. The structure of a rowis - beginning
_ and end
.. The number of the points in the first iteration should be 0 and in each following one it increases by one. Therefore we can say that the size of the points in the lower part of the figure equals
In order for our program to work properly, in each iteration of the loop we need to decrease the number og
_ with 2.
Test your solution here: https://judge.softuni.bg/Contests/Practice/Index/513#2.