Posts

Showing posts from July, 2023

Calculator for addition, subtraction, multiplication and division

a = 50 b = 3  add = a+b sub = a-b mul = a*b div = a/b print ("the value of", a, "+", b,"is :",  add) print ("the value of", a, "-", b,"is :",  a-b) print ("the value of", a, "*", b,"is :",  mul) print ("the value of", a, "/", b,"is :",  div)