Friday, December 02, 2005

More IF statement practice...on your own blog

On your blog write the code for a page with two text boxes that take in the following information: number of free throws made versus number of free throws attempted. You will use PHP to return the percentage and a series of IF statements to give the following statements: Between 90 and 100% "GRRREAT JOB!"

Between 80-89% "SUPER JOB!"

Between 70-79% "Okay!"

Between 60-69% "You better be big"

Between 0-59% "Hi Shaq"

For more help with IF statements, try here:

Read this.

0 Comments:

Post a Comment

<< Home