//: Playground - noun: a place where people can play

import UIKit

var age = 28 // Int
//age = 28.5   -> error
// age = Int(28.5)


var x = 29.3


var y : Float = 29.3

y = Float(x)

// Int8 : 8bit ->  256 number (signed) -> -128, ..., 127

var id : Int8 = 127
// Int16 -> -32768, ..., 32767
var short : Int16 = -32453

// arithemetic operators

var a = 17
var b = 6

var sum = a + b

var minus = a - b

var multiply = a * b

var div = a / b
var remainder = a % b

print("The result of \(a) / \(b) is \(div) with remainder of \(remainder)")

var div2 = Double(a) / Double(b)

var test = (a + b) * (sum / 2 + (a * div))








