Write a program that will print the message “Computer Science is cool!!” 10 times.Use a while loop.2. Instead of printing 10 times, ask the user how many times the message should beprinted. You will need to declare a variable to store the user’s response and usethat variable to control the loop.3. Number each line in the output, and add a message at the end of the loop that sayshow many times the message was printed. So if the user enters 3, your programshould print this:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here