User:Enigma Gaming/sandbox

VBS Script Examples Calculator.vbs: dim num1 dim num2 dim equ

num1 = inputbox("Enter First number") equ = inputbox("enter your variable ie. (/ * - +)") num2 = inputbox("enter second #")

if equ = "/" then msgbox(num1 / num2) if equ = "*" then msgbox(num1 * num2) if equ = "-" then msgbox(num1 - num2) if equ = "+" then msgbox(num1 -- num2)

'Then Save as .vbs'

Message Box: MsgBox ("Hello.")