Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

alanli123

  • 3 years ago

Visual basic loop amt = 1 for m = 4 to 1 step-1 amt = amt * m next m

  • This Question is Open
  1. msmithhnova
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Is there a question here? I haven't done VB in several years so I am not sure if the lack of a space after 'step' matters. Likewise, I am not sure but I believe in VB keywords need to be capitalized. ie: for, to, step, next should be For, To, Step, Next

  2. Cassandr4
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    REM Not sure what your problem is, here's a more formal presentation with a var check. Sub Main amt = 1 for m = 4 to 1 step -1 amt = amt * m next m print amt End Sub

  3. yak-coder
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    NOW!!!! THAT'S WINDOWS! AND IT'LL ALWAYS BE WINDOWS!!!!!!!!!!

  4. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy