├── README.md
├── question no1.js
├── question no2.html
├── question no3.js
├── question no4.html
└── question no5.js
/README.md:
--------------------------------------------------------------------------------
1 |
Assingment no 3
2 |
--------------------------------------------------------------------------------
/question no1.js:
--------------------------------------------------------------------------------
1 | // Assignment no 3
2 | // Question no 1
3 | var age = 25;
4 | console.log(age);
5 | console.log(typeof age );
6 | let ageAsString = String(age);
7 | console.log(ageAsString);
8 | console.log(typeof ageAsString);
--------------------------------------------------------------------------------
/question no2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | java script assignment
8 |
16 |
17 |
18 |
19 |
ADAN LODHI
20 | question no 2
21 | java script assignment
22 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/question no3.js:
--------------------------------------------------------------------------------
1 | // Assignment no 3
2 | // Question no 3
3 | var temperature = 72;
4 | var celsius = ((temperature - 32)*5) / 9;
5 | console.log("The temperature in celsius is " + celsius);
--------------------------------------------------------------------------------
/question no4.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Java Script assignment
8 |
16 |
17 |
18 |
19 |
ADAN LODHI
20 | question no 4
21 | Javascript assignment
22 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/question no5.js:
--------------------------------------------------------------------------------
1 | // Assignment no 3
2 | // Question no 5
3 | var isRaining = true;
4 | if(isRaining==true){console.log("Bring an umbrella")}
5 | else(console.log("Leave the umbrella at home"));
--------------------------------------------------------------------------------