English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

can any one write the coding to print:
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
neone????

2006-06-27 23:59:54 · 3 answers · asked by priyanshu2606 2 in Computers & Internet Programming & Design

3 answers

Hey man, I suppose that this is your School's work, I can solve it out for you. But you should have given more information, like when the code will be executed. The coding is as follows:-

Dim x as integer
Dim y as integer

Private Sub cmd_ok()
For x = 1 to 5
For y = 1 to x
Print y;
Next y
Print
Next x
End Sub

2006-06-28 00:24:03 · answer #1 · answered by jitin_the_gr8 2 · 0 0

print "1"
print "1 2"
print "1 2 3"
print "1 2 3 4"
print "1 2 3 4 5"
print "etc"

2006-06-28 00:04:17 · answer #2 · answered by AnalProgrammer 7 · 0 0

You Can print any document from VB .there are different methods.Conatct me

2006-06-28 02:22:14 · answer #3 · answered by dewman_byju 4 · 0 0

fedest.com, questions and answers