Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7c13013

Browse filesBrowse files
committed
restructuring
1 parent cccf020 commit 7c13013
Copy full SHA for 7c13013

2 files changed

+18-1Lines changed: 18 additions & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎01_Day/varaible.js‎

Copy file name to clipboard
+17Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Declaring different variables of different data types
2+
let firstName = 'Asabeneh' // first name of a person
3+
let lastName = 'Yetayeh' // last name of a person
4+
let country = 'Finland' // country
5+
let city = 'Helsinki' // capital city
6+
let age = 100 // age in years
7+
let isMarried = true
8+
9+
// Declaring variables with number values
10+
const gravity = 9.81 // earth gravity in m/s2
11+
const boilingPoint = 100 // water boiling point, temperature in oC
12+
const PI = 3.14 // geometrical constant
13+
14+
// Variables can also be declaring in one line separated by comma
15+
let name = 'Asabeneh', //name of a person
16+
job = 'teacher',
17+
live = 'Finland'
Collapse file

‎04_Day/04_day_conditionals.md‎

Copy file name to clipboardExpand all lines: 04_Day/04_day_conditionals.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ isRaining
291291
Enter a number: 2
292292
2 is an even number
293293
294-
Enter a number 9
294+
Enter a number: 9
295295
9 is is an odd number.
296296
```
297297

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.