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

Keeping data in form
How can I keep whatever I write in the form?

WORDPRESS - Multiple Loops Only Going to One Post?
I have various pages with multiple loops and i need them to be individual to all other categories.

=> and <=
So I was digging through some code when I came across the <= operator. This is the first tim

Save username into DB
OkaY so I got my blog to actually save the posts and whatever, all I need now is for it to keep the

Target costs on Process orders not calculating
Hi All,

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

Strange PHP/mySQL error ... am I just tired?
Code: <?

## CONNECT TO DB FUNCTION!
function ConnectTo($db2con)
{
$hostNam

Code clarification
Hi

In the following code what could be the "search_print()" and where it could be

Pspell with my own dictionary
Hello!
I've tested two cases using pspell functions.
1)
Code: $dictionary_link = pspell_new

Get ID from Database when Posting with a HTML Form
I have a form I am submitting to a MySql database. Each product has an ID # attached to it that auto

asp authentication problem
Hello all, I want to use the asp authentication (from asp.net configuration) in my web site. there

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