Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Need help on VB

  1. Jul 31, 2004 #1
    According to a researcgers,the ideal weight for a woman is found by multiplying her height in inches by 3.5 and substracting 108.While the ideal weight for a man is found by multiplying his height in inches by 4 and substracting 128.

    So,may i know how to create this program using VB?
  2. jcsd
  3. Jul 31, 2004 #2


    User Avatar
    Science Advisor
    Homework Helper

    Create what program?
  4. Jul 31, 2004 #3
    i want my output looks like sth as below:

    Height weight of women weight of man
    62 109 120
    63 112.5 124
    64 116 128
  5. Jul 31, 2004 #4


    User Avatar
    Staff Emeritus

    Sounds like you want us to do the work for you. Show some type of attempt at writing the program and maybe someone will help.
  6. Jul 31, 2004 #5


    User Avatar
    Science Advisor
    Homework Helper

    We really can't help you as you've given nothing to work with. What is the input? Is there any user input? How many values will the user put in?
  7. Jul 31, 2004 #6
    i did already but command wrong..hmm..i create 2 textbox for users to key in their height in inches(one for man,one for woman),and one label to show the output....but i dunno what's the command for the label..
  8. Jul 31, 2004 #7
    I have done it already,anyway,tks for u all trying to help me!
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook