Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit a446024

Browse files
committed
Week 1 exercises
Folder Creation in Git and exercise creation
1 parent 2353091 commit a446024

7 files changed

+54
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
"use strict";
2+
console.log ("Hello world! in English");
3+
console.log ("Hello Wêreld! in Afrikaans");
4+
console.log ("مرحبا بالعالم! in Arabic");
5+
console.log ("Sawubona Mhlaba! in Zulu");
6+
console.log ("Selam Dünya! in Turkish");
7+
console.log ("こんにちは世界! in Japanese");
8+
console.log ("שלום עולם! in Hebrew");
9+
console.log ("Olá Mundo! in Portuguese");
10+
console.log ("Salom Dunyo! in Uzbek");
11+
console.log ("Hej världen! in Swedish");
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"use strict";
2+
console.log("'I'm awesome");
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
"use strict";
2+
let numberX;
3+
console.log ("Hello world! in English");
4+
console.log ("Hello Wêreld! in Afrikaans");
5+
numberX = 2020;
6+
console.log ("Hello world! in English");
7+
console.log ("Hello Wêreld! in Afrikaans");
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
"use strict";
2+
let myString = "Tsimplostefanakis Michalis";
3+
console.log ("The variable myString is about fullname");
4+
console.log (myString);
5+
myString = "Papadakis Manolis";
6+
console.log ("The variable myString is about fullname");
7+
console.log (myString);
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
"use strict";
2+
let z = 7.25;
3+
console.log(z);
4+
let a = Math.round (z);
5+
console.log(a);
6+
let comp;
7+
if (z==a){
8+
console.log("The z is equal to a");
9+
}
10+
else if (z>a){
11+
console.log("The z is larger than a");
12+
}
13+
else {
14+
Console.log("The a is larger than z");
15+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
"use strict";
2+
let books = [];
3+
console.log("The content of the Array is about animals");
4+
console.log(books);
5+
let animals=["Dog","Cat","Horse"]
6+
console.log(animals);
7+
animals.push("Piglet");
8+
console.log(animals);
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"use strict";
2+
let mySentence="Programming is so interesting!"
3+
let strlength= mySentence.length;
4+
console.log("The string length is "+strlength);

0 commit comments

Comments
 (0)