forked from codehouseindia/Everything
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjavascriptbysamahith4
More file actions
53 lines (31 loc) · 946 Bytes
/
javascriptbysamahith4
File metadata and controls
53 lines (31 loc) · 946 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//strings
// var strings = "samahith";
// console.log('samahith');
//uses of strings
// var myName = "samahith";
// var myCity = "Ney York"
// console.log(myName + " is my name,and i live in " + myCity );
//numbers
// var myFavNum = 7;
// console.log(myFavNum);
// numbers using mathamatical operations
// console.log(2+0);
// console.log(4-2);
// console.log(4/2);
// console.log(2*1);
// project-1
// var studentScoreBio = 370;
// var maxScore = 360;
// console.log(studentScoreBio/maxScore*100);
// console.log("Good");
// var studentScorePhy = 173;
// var maxScore = 180;
// console.log(studentScorePhy/maxScore*100);
// console.log("hell Yeah!..");
// var studentScoreChem = 149;
// var maxScore = 180;
// console.log(studentScoreChem/maxScore*100);
// console.log("ok");
// console.log("Average Score");
// console.log(studentScoreBio/360*100+studentScoreChem/180*100+studentScorePhy/180*100);
// End of project 1