+ 2

I can't get output of this code. Please help me.

<htlm> <head> <title>Javascript</title> </head> <body> <script language=Javascript> Varper=ParseInt(prompt("Enter%")) If (per>=70) {document.write("Distinction")} elseif(per>=60) {alert("First Class")} elseif(per>=50) {document.write("Second Class")} elseif(per>=35) {document.write("Pass Class") elseif(per>35) {document.write("Fail Class")} </script> </body> </htlm>

19th Jan 2017, 1:06 PM
AshKing
AshKing - avatar
19 odpowiedzi
+ 10
<html> <head> <title>Javascript</title> </head> <body> <script type="text/javascript"> var Varper=Number(prompt("Enter%")); If (per>=70) {document.write("Distinction");} else if(per>=60) {alert("First Class");} else if(per>=50) {document.write("Second Class");} else if(per>=35) {document.write("Pass Class");} else if(per>35) {document.write("Fail Class");} </script> </body> </html>
19th Jan 2017, 1:23 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 9
Nope!
19th Jan 2017, 1:59 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 9
Greece (you can already see my name……)
19th Jan 2017, 2:02 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 9
What do I do?? I live there! ~_~
19th Jan 2017, 2:05 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 9
Yes! ^_^
19th Jan 2017, 2:14 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 9
School.
19th Jan 2017, 2:16 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 8
I'm only 16! ^_^
19th Jan 2017, 2:09 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 3
thanks
19th Jan 2017, 1:56 PM
AshKing
AshKing - avatar
+ 3
yes this is right code
19th Jan 2017, 1:57 PM
AshKing
AshKing - avatar
+ 3
Where are you from and what is your name?
19th Jan 2017, 2:01 PM
AshKing
AshKing - avatar
+ 3
Valentine is your name
19th Jan 2017, 2:03 PM
AshKing
AshKing - avatar
+ 3
what do you do in Greece?
19th Jan 2017, 2:04 PM
AshKing
AshKing - avatar
+ 2
You Are on Facebook
19th Jan 2017, 1:58 PM
AshKing
AshKing - avatar
+ 2
I mean work or job
19th Jan 2017, 2:08 PM
AshKing
AshKing - avatar
+ 2
Oooo so you r a student ~_~
19th Jan 2017, 2:11 PM
AshKing
AshKing - avatar
+ 2
Say
19th Jan 2017, 2:13 PM
AshKing
AshKing - avatar
+ 2
school or collage
19th Jan 2017, 2:15 PM
AshKing
AshKing - avatar
+ 1
Please follow me☺"~"
19th Jan 2017, 8:47 PM
AshKing
AshKing - avatar
+ 1
hahaha.... what do u do in greece? valentin: what do I do?? I live there! ~_~ best answer ive ever seen xD xD
20th Jan 2017, 5:01 AM
DEF4LT_
DEF4LT_ - avatar