help

Author Message
joker

  • Total Posts : 1
  • Scores: 0
  • Reward points : 0
  • Joined: 1/11/2011
  • Status: offline
help Tuesday, January 11, 2011 9:49 AM (permalink)
0
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
 
#1
    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)
    0
    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
     
    #2

      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 1 guests.

      Icon Legend and Permission

      • New Messages
      • No New Messages
      • Hot Topic w/ New Messages
      • Hot Topic w/o New Messages
      • Locked w/ New Messages
      • Locked w/o New Messages
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2012 ASPPlayground.NET Forum Version 3.9