How to output this VB code in Console?

Get the numbers from a txt file:
1
4
7
15
1000

This is the output:
1 *
4 ****
7 *******
100 (not largeat than 20)

Please help, I'm new in VB.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.