The average score and all the scores above the average score

Assignment Help PHP Web Programming
Reference no: EM13165038

print all the scores below the average score and all the scores above the average score in php.

Here is my code:

function below($grades)

{

$arrlength=count($grades);

$lower=array();

for ($y=0;$y<arrlength;y++);

{

if ($y < 75.8)

{

$lower[]=$y;

}

}

print_r($lower);

 

}

Reference no: EM13165038

Questions Cloud

Social contract theory : A principal difficulty with social contract theory is that it requires people to follow the social contact rules - to keep their agreements and not to harm others - even when many others in society refuse to abide by the social contract rules.
Bare in mind this is a program : Bare in mind this is a program with the audience being lawncare and landscaping people. So the events will generally be to know how often a client wants their lawn mowed.
Determine the density of a single gold atom : Assume that a gold atom is shaped like a sphere. An atom of gold has a radius of 156 pm and a mass of 197 amu. Determine the density of a single gold atom in units of g/cm3. (1 amu = 1.66 x 10-24g).
Find the amount of heat transferred from the water : A 486 mL sample of water was cooled from 50.0°C to 10.0°C. Assuming a specific heat of 4.184 J/K g and a density of 1.00 g/mL, find the amount of heat transferred from the water to the surroundings.
The average score and all the scores above the average score : print all the scores below the average score and all the scores above the average score in php.
What test would you perform to identify the product : what would you expect to observe if KHCO3 reacted with H2SO4? what test would you perform to identify the product?
Does emotion or logic determine your decisions : If you think about some major decisions from your life, consider whether emotion or logic was the determining element. Ultimately, the logical, rational thing to do is to discover people's dominant values and use this information constructively to he..
What is the cell potential in volts : A voltaic cell is created with one half-cell consisting of a copper electrode immersed in 1.0 M CuSO4 solution and the other half cell consisting of a lead electrode immersed in a 1.0 M Pb(NO3)2 solution. Each half-cell is maintained at 25o C. Wha..
Write an algorithm for fining the middle node : Write an algorithm for fining the middle node of a doubly linked list given both the head and the tail of the list.And Write a  recursive  java function that counts the number of nodes in a circularly linked list.

Reviews

Write a Review

PHP Web Programming Questions & Answers

  Why do we create a web site plan

Why do we create a web site plan?2. What are the several types of objectives?

  Online banking application

Designing and developing a web applications The company you are working has secured a contract with a local banking group to develop an ONLINE BANKING APPLICATION using PHP and MySQL.

  Design database table required to store children information

Design the database tables required to store children and class information. In addition to the attributes, be sure to check the needed foreign keys and primary keys.

  Create an online parking system

To create an online PARKING system with php/mysql or any other coding language suitable and dissertation proposal

  Functions and code to test array of strings in php

Write, test and debug PHP scripts for specifications which follow. Write functions and code to test them. Parameter: An array of strings.

  Distributed collection of hypermedia documents

Explain what is meant by saying that the Web is a distributed collection of hypermedia documents.

  Develop a dynamic website open university

Develop a dynamic website Open University

  Information-intensive goods and classic information goods

What is the difference between "information-intensive goods" and "classic information goods"? How can a firm that find's itself on the losing side of network effects survive?

  Php program to identify leap year

Given a variable called $year, create a PHP program that will print out " is a leap year" or " is not a leap year".

  Web application development

Create a simple Web Application that collects gradings under a number of criteria, and then calculates an aggregate mark

  This problem is pertaining to the html language

CS5334.0251/0252, Spring, 2014 Assignment, Advanced Internet Information Processing subject, This problem is pertaining to the HTML language. You can create your own web page by placing an HTML page in the “public html” directory within your home dir..

  Shopping cart program for web applications class

Shopping Cart program for web applications class. Allows user to browse while keeping track of the items in which they will purchase at the end on the order page link and this will give a final price for all items.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd