Letter Grade with Elseif and Randomize function
First declare the variables, then set the grade to
to call a built-in function that performs randomization.
According to geek speak, a function is called. It is not a variable that is declared.
Here is the code running on the server:
<% Dim Grade As Integer Dim LetterGrade As String Randomize Grade = Int(Rnd * 100) + 1 ' Random number between 1 and 100 %>
Your grade is 40.
You failed. I’m sorry and feel your pain!!
Don't you wish all grades where just a click away?
EASY!!!EASY!!!
EASY!!!
EASY!!!
EASY!!!
EASY!!!
EASY!!!
If you don't like your grade, refresh the browser and I'll give you
ANOTHER ONE----
Return to Table of Contents
DELAWARE'S MIDDLETOWN ODESSA AND TOWNSEND AREA