-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathOluwaseyi.html
31 lines (30 loc) · 1.29 KB
/
Oluwaseyi.html
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
<!DOCTYPE html>
<html lang = 'en'>
<head>
<title>Mark Sheet</title>
<meta charset="UTF-8">
</head>
<body>
<script>
// your code here
console.log("Subjects \t Full Marks \t Pass Marks \t Obtained");
const fullMarks = 100;
const passMarks = 50;
let chatObtained = 92;
let friendsObtained = 77;
let photosObtained = 90;
let likesObtained = 54;
let profileViewsObtained = 63;
let comments = 92;
let grandTotal = chatObtained + friendsObtained + photosObtained + likesObtained + profileViewsObtained + comments;
console.log(`Chat \t\t ${fullMarks} \t\t ${passMarks} \t\t ${chatObtained}`);
console.log(`Friends\t\t ${fullMarks} \t\t ${passMarks} \t\t ${friendsObtained}`);
console.log(`Photos \t\t ${fullMarks} \t\t ${passMarks} \t\t ${photosObtained}`);
console.log(`Likes \t \t ${fullMarks} \t\t ${passMarks} \t\t ${likesObtained}`);
console.log(`Profile Views \t ${fullMarks} \t\t ${passMarks} \t\t ${profileViewsObtained}`);
console.log(`Comments \t ${fullMarks} \t\t ${passMarks} \t\t ${comments}`);
console.log(` \t\t\t\t GRAND TOTAL \t ${grandTotal}`);
console.log(`P=Pass A=Absent \nF=Fail(*) W=Result Withheld \t Result: \t PASS`)
</script>
</body>
</html>