This is your homework: so I'll give you no code!
But this is pretty simple, if you read your notes from the last lesson.
There are two sections to this:
1) Ask the user how many times to print the message, and get the response as a number.
2) Loop that many times to print the message.
Now, I'm pretty sure you can print a message, and I'm reasonably sure you have been told how to read a response. Converting that to a number isn't complicated either:
Int32.TryParse Method (String, Int32) (System)[
^] will do it for you.
So all you need to to is a For loop. Again, that's simple:
For...Next Statement (Visual Basic) | Microsoft Docs[
^] - there are examples at the bottom of the page which pretty much do exactly what you want!