# Need some help on vb again

#### alanveron

Picture1.Print "Height"; "Weight-women"; "Weight-men"
a = Val(Text1.Text)
b = Val(Text2.Text)

Dim x, y, z As Integer
x = a
y = x * 3.5 - 108
z = x * 4 - 128
Do
Picture1.Print x; y; z
x = x + 1
y = x * 3.5 - 108
z = x * 4 - 128
Loop Until x > b
this is my command.....but my when i run it,the words 'heightweight-womenweight-men' all stay together....can i separate them?
if possible i would like the value of x will display in the same column with height,while y in the same column with weight-women and z will be in the same line with weight-men

Related Computing and Technology News on Phys.org

#### phinds

Gold Member

Picture1.Print x & " "; y & " "; z

"Need some help on vb again"

### Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving