joker
-
Total Posts
:
1
- Scores: 0
-
Reward points
:
0
- Joined: 1/11/2011
-
Status: offline
|
help
Tuesday, January 11, 2011 9:49 AM
( permalink)
hey I am new to this type of scripting vb script is not my strong area. I need to write a grade prom that take any number bewteen 0 and 100 preforms requested operation. Program file is one text box one submit button. 90 to 100 =A B=80 to 89 C= 70 to79 d=60 69 anything lower F
|
|
|
|
webber123456
-
Total Posts
:
58
- Scores: 0
-
Reward points
:
0
- Joined: 9/20/2007
-
Status: offline
|
Re:help
Friday, January 28, 2011 7:06 PM
( permalink)
Dim grade if score <= 100 and > 90 then grade = "A" if score <= 89 and > 80 then grade = "B" if score <= 79 and > 70 then grade = "C" if score <= 69 and > 60 then grade = "D" if score <= 59 then grade = "F" response.write grade
|
|
|
|