Operators
Exercise 1
- Create number a = 10
- Print the number.
Exercise 2
- Multiply the number by 2.
- Print the result.
Exercise 3
- Create a second number b = 5
- Multiply a and b
- Print the result.
Exercise 4
The Celsius Fahrenheit converter.
- Create a variable
temperatureas Double for the temperature in Celsius. - And print the temperature in Fahrenheit.
- Look on the internet for the formula.
- Use 0.0, 37.0 -40.0 as test examples
Exercise 5
Create a 'kilometre to miles' converter.