You are on page 1of 1

calculator Code: @echo off :hom title Calculator echo Welcome %USERNAME%, Type a number.

set/p one= cls echo Type the sign. (+,-,*,/) set/p two=%one%... echo And type the last number. set/p three=%one%%two%... set/a final=%one%%two%%three% cls echo Total: %one%%two%%three%=%final% pause cls goto hom

You might also like