Standard operators are written just like everywhere else:
Addition +;
Subtraction -;
Division /;
Smart *.
To take the remainder of the number, you must use the% sign. Assignment with addition and assignment with subtraction: + =, – =. To take a module of a number with any type of data, the function abs() will help, and the module of a number with double data type will help to find the function fabs().


Swift programming

IOS language programming