Both are correct, because it is a pseudocode , its only used to make it easy to read the code(And you should use it, it helps a lot in the long run). You can also notice that in the first example the "End AddIfBigBazzar" End starts with capital "E" but in the second one it starts with small "e" ,which will result in an error if used in a real code , Though I don't want to go deep into this discussion , when you learn more about this you will come to know in a language like Python , you will see "end" is not even used to end a procedure or a function . So to keep things simple for now remember this is a good way to learn and understand code by using Pseudocodes. Different languages have different syntaxes but the same base logic behind them .Like in python indentation effects the code but in a language like Java indentation doesn't matter .
.