NVIDIA Interview Question

Prompt for user input and save user input 10 times using a loop.