It's in Python, everything sort of explained in the image below,

To be able to write algorithms in pseudocode, one needs to learn the programming language.
For writing the algorithms in a pseudocode, one must be able to understand the programming language, for which each of the steps shall be arranged properly in a sequential manner.
The instruction to be given to the code are to be written in uppercase, whereas lowercase is used for displaying the messages in the sentence. The command of input, is used for asking questions.
Hence, the ways to write an algorithm in a pseudocode is explained above.
Learn more about pseudocode here:
https://brainly.com/question/13208346
#SPJ1