Help me with this task please

I have a task, write a program that inputs a number and prints out a series of stars, what the number is entered.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
IF interest for learning equals none then
  GO TO https://www.assignmentexpert.com/blog/do-my-c-homework/
ELSE  
  Read textbook or course material
  Make a plan to solve the problem
  Write some code
  if code is not working 
    read http://www.catb.org/esr/faqs/smart-questions.html
    post your question and code here
    while not problem solved
      wait patiently
    end-while
  end-if
END-IF
Registered users can post here. Sign in or register to post.