Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

VBScript(Tutorial) Making a Multiplacation Calculator Simple

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,644
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 26, 2008

Very easy VBScript Multiplacation calculator. Enjoy =)

Code:
do
Dim a
a=inputbox("put in your number:")
b=inputbox("number you would like to multiply:")
if not isnumeric (a) then
wscript.quit
end if
if not isnumeric (b) then
wscript.quit
end if
c=msgbox("Your Answer: "& a * b)
loop

Thanks for watching =) I hope you have learned something from me Well if you have enjoyed rate,subscribe,comment

have a nice day =)

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (stupidgaylogincrap)

  • answer me! how i get rid of it!

  • What are you trying to do close it? if you want to close it just enter a letter because this: if not isnumeric (b) then

    wscript.quit

    so if it's not a number the program will quit.

  • HOW DO I LOSE THE LOOP!?

  • sorry for not answering i accedentally spammed youtubes messages on yahoo, trying to spam these scams emails and so i don't get alerted when i get a message. and comments don't get that inbox alert for youtube. so sorry

  • awesome!

    5/5

    really cool!

  • glad you like thanks for watching :)

see all

All Comments (22)

Sign In or Sign Up now to post a comment!
  • @theonlinegamers if you copied the entire code correctly, to lose the loop, press cancel in the inputbox and it should do: WScript.quit (this is the exit code).

  • @theonlinegamers Or Do CTRL ALT DELETE and exit the process "wscript.exe" :D

  • @littlesnack123 first of all that was one yr ago, so i dont need that help now lol

    secondly i was running the program, not editing the code

  • @theonlinegamers Delete do and loop

  • @theonlinegamers put in for the numbers a letter or punctuation mark to end it. it scared me at first but then i hit edit and it said ifnot numeric wscript.quit so... yeah.. XD

  • This is the script to convert Celsius to Fahrenheit:

    Dim a

    a=inputbox("Put in your number you want to convert:")

    if not isnumeric (a) then

    wscript.quit

    end if

    c=msgbox("Your Answer: " & (a*9)/5+32)

  • FOR ADD

    choice this

    BUT ONLY WORKS FOR 1 NUMBER

    c = a+b -9*a

  • The + should work because thats how I did it, but if it doesnt work for you, then you have some messed up computer or something along those lines

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more