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

  Designing page to count number of page views in php

Design a page to count number of times page is viewed by a user in single session in PHP/SQL.

  Student counseling expert system

This is a web-based Expert System, rule-based. WAMP should be the platform of execution. PHP is the programming language of choice along with an extension for Expert System

  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?

  Non-functional mock-up of web pages

Non-functional mock-up of Web pages Diagram of database tables with column names and data types Final tested version of all Web application software.

  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.

  Why do we create a web site plan

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

  Web application development

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

  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".

  Model view controller pattern

PHP Frameworks, class patterns and object patterns, Object Oriented Design Principles, Program to an ‘interface' not to an Implementation, Open Close Principle, Principle of Least Knowledge, creational design prototypes, Dependency Inversion principl..

  Dynamic page which receive a in put

Write a program in php to generate a dynamic page which receive a in put and print it on the screen

  Prepare an ajax enabled web form

Prepare an AJAX enabled web form utilising a ListView control that will allow logged-in staff to list, edit, delete, insert magazine details for magazines from a selected magazine category.

  Create an online parking system

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

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