Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

Swift Print Variables and Literals

var number: Double = -10.6

var name: String = "Programiz"

// print literals     
print(5)

// print variables
print(number)
print(name)
 
PREVIOUS NEXT
Tagged: #Swift #Print #Variables #Literals
ADD COMMENT
Topic
Name
3+5 =