swift 5 increment int code example Example: swift increase int value var num = 0 num = num + 1 num += 1 //can use any math operation