HELP!!! Simple AND Question

# Thread: HELP!!! Simple AND Question

1. Marsha Guest

## HELP!!! Simple AND Question

I have a number total that is going to be between 5 and 25, and I wan tto essentailly break that number out into 3 levels 5-9,10-19, & 20-25. The values of this numbers will determine whether the words Low, Average, or High will be written to the screen. I&#039;ve tried using the AND statement, but I still get an error. here is my code:<BR>&#060;%<BR>If STotal &#060;= 9 Then Response.Write("Low")<BR>If STotal &#062;= 10 AND &#060; 20 Then Response.Write("Average")<BR>If STotal &#062;= 20 Then Response.Write("High") <BR>End If%&#062;<BR><BR>Thanks in advance!!!

2. Senior Member
Join Date
Dec 1969
Location
Los Angeles, CA
Posts
21,192

## RE: HELP!!! Simple AND Question

If STotal &#060;= 9 Then Response.Write("Low")<BR>If STotal &#062;= 10 AND STotal &#060; 20 Then Response.Write("Average")<BR>If STotal &#062;= 20 Then Response.Write("High") <BR><BR><BR>

3. Marsha Guest

## Arggh...I'm an idiot...Thanks!!! (eop)

eop

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•