How to allow the user to enter 2 prompts at once?

basically I want to allow the user to enter 2 prompts, for example [CODE] and [PROGRAMNING LANGUAGE], how could I do that?