Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

calculator

class calc:
  def __init__(self,num):
    self.num = num
  def __add__(self,other):
    #inner code
  def __mul__(self, other):
    #inner code
  def __sub__(self, other):
    #inner code
  def __div__(self,other):
    #inner code
  # and so on for features
  
 
PREVIOUS NEXT
Tagged: #calculator
ADD COMMENT
Topic
Name
4+2 =