What must be the code in order for the ff to be displayed once you clicked the command button?
1 2
1 2 3
1 2 3 4
1 2 3 4 5

Recommended Answers

All 2 Replies

please show us your efforts to solve this problem . its almost impossible to get assistance if you don't prove what you have done.

for this code, you neeed nested looping and print statement of viualbasic and code will be written inside click event of the button.
if you are not familiar with nested looping then This Link will provide you an idea of how use it. Syntax may be different from language to language but logic remains same.
thats all about.

m = ""
For t = 1 To 5
    m = m & t & " "
    Print m
Next t
Be a part of the DaniWeb community

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