+ 1

Getting user input of lines of characters

How can I get users to input 0 1 2 randomly on the screen. Also output every character 2 followed by character 1. Output required is eg 212121. Count of pairs in this eg is 3

24th Oct 2018, 11:07 PM
Ben ogegbo
Ben ogegbo  - avatar
2 Answers
0
What do you mean? Please specify more, I don't think anyone could have ever understand what "input 0 1 2 randomly on the screen" mean, nor would they understand the rest of the question.
25th Oct 2018, 4:42 AM
Eldar Bakerman
0
Ben, could you please give more details on what exactly you are looking for ?
26th Oct 2018, 10:09 PM
Siva Kumar
Siva Kumar - avatar