A program using C++ and only include.Shortly before the programming contest started, Bjarki decided to update his comput
Posted: Thu Jul 14, 2022 2:28 pm
A program using C++ and only include.Shortly before theprogramming contest started, Bjarki decided to update his computer.He didn’t notice anything strange until he started coding in hisfavorite editor, Bim (Bjarki IMproved). Usually when he’s writingin an editor and presses the backspace key a single character iserased to the left. But after the update pressing that key outputsthe character <. He’s tested all the editors on his machine,Bmacs, Neobim, bjedit, NoteBjad++ and Subjark Text, but they allseem to have the same problem. He doesn’t have time to search theweb for a solution and instead decides to temporarily circumventthe issue with a simple program. Help Bjarki write a program thattakes as input the string that was written in the text editor, andoutputs the string as Bjarki intended to write it. You can assumethat Bjarki never intended to write the character <, and thatBjarki never pressed the backspace key in an empty line.