Problem:
Question: Write a code that takes an integer ‘n' from the user and prints the first ‘n' prime numbers. For example, if the user enters n=10, the program should print the first 10 prime numbers. Format the output so that there is a newline character (‘\n') after each 10 numbers printed,
Please write the code in a discriptive way.