+ 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>
19 Antworten
+ 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>
+ 9
Nope!
+ 9
Greece (you can already see my name……)
+ 9
What do I do?? I live there! ~_~
+ 9
Yes! ^_^
+ 9
School.
+ 8
I'm only 16! ^_^
+ 3
thanks
+ 3
yes this is right code
+ 3
Where are you from and what is your name?
+ 3
Valentine is your name
+ 3
what do you do in Greece?
+ 2
You Are on Facebook
+ 2
I mean work or job
+ 2
Oooo so you r a student ~_~
+ 2
Say
+ 2
school or collage
+ 1
Please follow me☺"~"
+ 1
hahaha.... what do u do in greece?
valentin: what do I do?? I live there! ~_~
best answer ive ever seen xD xD