Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

Arithmetic Operators in Swift

var a = 7
var b = 2

// addition
print (a + b)  

// subtraction
print (a - b) 

// multiplication
print (a * b)
 
PREVIOUS NEXT
Tagged: #Arithmetic #Operators #Swift
ADD COMMENT
Topic
Name
6+3 =