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

i need help with php header and footer
I have designed a header and footer for my site and they seem to be ok when they are running individ

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.

Material Issuing for receiving batch
Dear All experts in MM/ PP,

Material issuing from main stores to factory is currently usi

New to mysqli library - Multiple query problem
Greetings,

I am writing a batch program that executes 3 queries on a single page. Using mysql

Help Optimizing code
Good Morning,

I wrote a small import function for a website of mine and I know there has to b

Load file in PHP
I have 2 files. The first is a PHP generated XML file that's dependent by 2 inputs. The second is a

PHP / MySQL Associative Multidimensional Array:
Hello.

I have data in a MySQL Table that adheres to the below: (note, no index, could add if

php ajax - two drop down list with a submit button
i have created a form with 2 drop-down list and a submit button. I would like to know how to pass th

Just wondering what you think about my site
I am new to phpfreaks i just seen this form and thought it would be cool to see what other thought a

How could I do this?
Ive got a simple lottery game, and am using an sql database to keep track of the numbers bought. But

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