How would I convert this into code using an if statement?


Posted on 16th Feb 2014 07:03 pm by admin

ES equals exam score m equals $mean s equals $total. I already coded my mean and total so I'm not going to post my code unless it is necessary. I want to know how to get this into code form using if statements, and also how to echo it.

ES > or equal to m + 1.5s (This will tell what grades are an A)
m + .5s <or equal to ES < m + 1.5s (This will tell what grades are an B)
m - .5s < or equal to ES < m + .5s (This will tell what grades are an C)
m - 1.5s < or equal to ES < m - .5s (This will tell what grades are an D)
ES , m - 1.5s (This will tell what grades are an F)

No comments posted yet

Your Answer:

Login to answer
162 Like 47 Dislike
Previous forums Next forums
Other forums

MySQL-PHP Query Results Help
Hello all. I'm hoping to be able to get some help in solving a problem with query/rowcount output. I

What's wrong with my code
sobbing for many days, still don't know why please Help. Why my page isn't posted correctly. In a

PHP Script runs on CLI but not through web browser
I am running into an issue that I just can't seem to find the answer to. I have a Windows Server 200

why does my session end?
my connect.php starts the session just so you know
i can navigate arround my site fine except whe

Target costs on Process orders not calculating
Hi All,

We have released standard costs for all the materials. We have also done Goods r

MySQL query problem
When I try to run the following piece of code, I get this error:
QuoteWarning: mysql_query(): sup

help with image upload code
Hello,

right now this code I have resizes images and then places them into the uploads folder

UPLOAD IMAGES NOT WORKING!
Hi there i have a upload script in which it uploads the picture to a folder than creates two thumbna

SQl num_rows problem
when i try to count rows from an SQL select i get an warning

Code: [Select]$countviews = mysq

Slashes
Have a small problem and I'm not able to understand why I'm getting the results I'm getting... and i

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash