restructuring

pull/33/head
Asabeneh 6 years ago
parent cccf0203cc
commit 7c13013e28

@ -0,0 +1,17 @@
// Declaring different variables of different data types
let firstName = 'Asabeneh' // first name of a person
let lastName = 'Yetayeh' // last name of a person
let country = 'Finland' // country
let city = 'Helsinki' // capital city
let age = 100 // age in years
let isMarried = true
// Declaring variables with number values
const gravity = 9.81 // earth gravity in m/s2
const boilingPoint = 100 // water boiling point, temperature in oC
const PI = 3.14 // geometrical constant
// Variables can also be declaring in one line separated by comma
let name = 'Asabeneh', //name of a person
job = 'teacher',
live = 'Finland'

@ -291,7 +291,7 @@ isRaining
Enter a number: 2
2 is an even number
Enter a number 9
Enter a number: 9
9 is is an odd number.
```

Loading…
Cancel
Save