How To Make A Calculator In VBscript


HOW TO MAKE A CALCULATOR!!!! THERE WERE SOME TYPOS IN WHAT I WROTE!!!!!!!!!!!!!! THANKS TO Johnny Shumway FOR THAT!!!!!!! here’s his channel:

Heres the FIXED code:
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)