DEV Community

Tony.Rese5
Tony.Rese5

Posted on

Just the basics.

  1. How do you assign a value?
    A- The "var" keyword is the only way to declare a variable in Swift. The most common and concise use of the "var" keyword is to declare a variable and assign a value to it.

  2. Which are the basic arithmetic operators?
    A- The basic arithmetic operations are (+)addition, (-)subtraction, (*)multiplication, and (/)division.

Top comments (0)