Steam acount ,programing fundamentals
As a gamer, Pesho has Tseam Account. He loves to buy new games. You are given Pesho`s account with all of his games-> strings, separated by space. Until you receive "Play!" you will be receiving commands which Pesho does with his account. You may receive the following commands:
Install {game}
Uninstall {game}
Update {game}
Expansion {game}-{expansion}
If you receive Install command, you should add the game at last position in the account, but only if it isn`t installed already.
If you receive Uninstall command, delete the game if it exists.
If you receive Update command, you should update the game if it exists and place it on last position.
If you receive Expansion command, you should check if the game exists and insert after it the expansion in the following format: "{game}:{expansion}";
Здравейте колеги!Всичко е окей с изключение на expansion-а , и не мога да намеря къде бъркам,ако някой може да помогне ще съм благодарен!
https://pastebin.com/1NDvqA52
Благодарско!