User, loser, coder and programmer

  • 8
  • Locked
1. Enter a few strings (keys) from the keyboard [in a loop].
The following strings (keys) are allowed: "user", "loser", "coder", "programmer".
Stop reading in strings after reading in any string that does not match one of the above.

2. For each entered string:
2.1. Create the appropriate object [see], e.g.
You can't complete this task, because you're not signed in.