answersLogoWhite

0

This Example code is written is basic. The counter variable is the Number you want to reach. You use a for loop to print from 1 to the counter number. Then you increase the counter number by 1 then go through your for loop again until you reach your counter number, and the process keeps going.

Counter as Integer

Counter= 1

Do

For Number = 1 to Counter

Print Number

Next Number

Counter=Counter+1

Loop

User Avatar

Wiki User

18y ago

What else can I help you with?