Simple Java / C# class to make user prompts using switchs