Complete the code to declare an integer variable named count with value 10.
var count: [1] = 10
The type Int is used for whole numbers in Swift.
Complete the code to declare a variable price with a decimal value 9.99.
var price: [1] = 9.99
The type Double is used for decimal numbers in Swift.
Fix the error in the code by choosing the correct type for the variable isActive.
var isActive: [1] = trueThe type Bool is used for true or false values in Swift.
Fill both blanks to declare a variable greeting with a text value.
var greeting: [1] = [2]
The type String is used for text. Text values must be in quotes.
Fill all three blanks to declare a variable temperature with a decimal value and print it.
var [1]: [2] = [3] print(temperature)
Declare a variable named temperature of type Double with value 36.6. Then print it.
