melissa so
1 Answer(s)      6 years and 11 months ago
Posted in : HTML

C. Write a JavaScript program that would input a student?s final grade from 50-100. Evaluate the Final grade and display the Point Equivalent based on the table below. Indicate also the remarks if it is ?Passed? or ?Failed?.

December 3, 2010 at 12:52 PM

Hi Friend,

Try the following code:

```<html>
<script>

function findResult(){
var result="";
var mm=document.form.marks.value;
if(mm>90){
result="Passed";
}
else if(mm>80&&mm<=90){
result="Passed"
}
else if(mm>70&&mm<=80){
result="Passed";
}
else if(mm>60&&mm<=70){
result="Passed";
}
else if(mm>50&&mm<=60){
result="Passed";
}
else if(mm<=50){
result="Failed";
}
document.writeln("Remarks: <b>"+result+"</b>");
}
</script>
<form name="form">
Student Marks:   <input type="text" name="marks"><br><br>
<input type="button" value="Submit" onclick="findResult();">
</form>
```

Thanks

compute the final grades  C. Write a JavaScript program that would input a student?s final grade from 50-100. Evaluate the Final grade and display the Point Equivalent based on the table below. Indicate also the remarks
compute the final grades  C. Write a JavaScript program that would input a student?s final grade from 50-100. Evaluate the Final grade and display the Point Equivalent based on the table below. Indicate also the remarks
compute the final grades  C. Write a JavaScript program that would input a student?s final grade from 50-100. Evaluate the Final grade and display the Point Equivalent based on the table below. Indicate also the remarks
compute the final grades  C. Write a JavaScript program that would input a student?s final grade from 50-100. Evaluate the Final grade and display the Point Equivalent based on the table below. Indicate also the remarks
compute the final grades  C. Write a JavaScript program that would input a student?s final grade from 50-100. Evaluate the Final grade and display the Point Equivalent based on the table below. Indicate also the remarks
compute the final grades  C. Write a JavaScript program that would input a student?s final grade from 50-100. Evaluate the Final grade and display... input a student?s final grade from 50-100. Evaluate the Final grade and display
grades in ascending order -Search for a student by name. Any help much
compute
Name, Rate per hour, No. of hours worked and will compute the daily wage... Name, Rate per hour, No. of hours worked and will compute the daily wage... a JavaScript program that would input a student?s final grade from 50-100
compute
compute  B. Write a JavaScript program that would input Employee Name, Rate per hour, No. of hours worked and will compute the daily wage of an employee. If the number of hours worked exceeds eight hours add 30% to each excess
compute
compute    Write a menu driven program that will print out the results of the following : (1) Ceiling (2) Floor (3) Absolute (4) (a+b)^3 (5) Exit... at 25% Input the name and marks of 25 students and compute the average. Print out
final
final  what does final means in "public static final void main (string args[])" ?   keyword final can be assigned only once. They cannot be modified
Compute command
Compute command  hello, What is compute command?   hii, samar Compute command control computations on subsets created by the BREAK command
Change the name of the grades
Change the name of the grades  Hi, i'm developing with polar chart and i want to change the name of the grades, for example: add("variable name",5) insted of add(20, 5). Somebody know how to do it? Tanks
compute the average of degrees
compute the average of degrees  using c++ language , write a program to do the following 1 enter three degrees of a student by the user . 2 compute the average of his degrees
final keyword
final keyword  why is final keyword used in java
Final Keyword
Final Keyword  hello, What is final?   hii In case of class if we use final then this class can not be extended or final class may not be subclassed. A final method can't be overridden when its class is inherited
compute the daily wage of an employee.
compute the daily wage of an employee.   B. Write a JavaScript program that would input Employee Name, Rate per hour, No. of hours worked and will compute the daily wage of an employee. If the number of hours worked exceeds
final variable
final variable  Please give some easiest and understanding example program for final variable
compute the daily wage of an employee.
compute the daily wage of an employee.   B. Write a JavaScript... and will compute the daily wage of an employee. If the number of hours worked exceeds... and will compute the daily wage of an employee. If the number of hours worked
final grade  C. Write a JavaScript program that would input a student?s final grade from 50-100. Evaluate the Final grade and display the Point...?s final grade from 50-100. Evaluate the Final grade and display the Point
Final Methods - Java Tutorials
The final Keyword in Java In Java, final keyword is applied in various context. The final keyword is a modifier means the final class can't be extended.... final classes The class declared as final can't be subclass or extend
compute nth root - Java Beginners
compute nth root  write a program that computes the nth root... Y, compute the nth root Z such that Z*Z*Z*Z*Z*Z*Z...(Y times)..Z*Z=X, or Z^y=X... and the program calculates Z. Compute Z so that when Z is multiplied Y time
Compute the image processing - Java Beginners
Compute the image processing  Hi, Question 1: I have some... code here to find the averaging of the image (grey image) also, How do i compute an average with a colour images one? Question 2: I need to compute
What is final class?
What is final class?  Hi, What is final class? thanks   Hi, A final class is not be saubclassed. A final method can't be overridden when its class is inherited. You can't change value of a final variable
The final Keyword
The final Keyword       The final is a keyword. This is similar to const keyword in other... final methods, final classes, final data members, final local variables
Java Final Variable
Java Final Variable  I have some confusion --Final variable has single copy for each object so can we access final variable through class name,or it is necessary to create object for accessing final variable
servlet as final - JSP-Servlet
servlet as final  whether we can declare final for a servlet or not? and give the reason
private static final
private static final  Why there is necessary to make a variable private static final
Java final keyword
Java final keyword The final is a very important keyword in java, which... with the name "Final" in a Java program. We can have final methods, final classes, final data members, final local variables and final parameters. When
Final Project - Java Beginners
Final Project  The importance of a graphical user interface..., but it is suggested that you begin working on the final project assignment in Week 5, which... the lectures, Quick Test Programs, and Lab assignments will prepare you for the final
Java final
Java final      ... entity which makes it unchangeable later. We can have final methods, final classes, final data members, final local variables and final parameters. 1