Facts About Age Discrimination. Who the ADEA Protects. The Age Discrimination in Employment Act of 1967 (ADEA) protects applicants and employees who are 40 years of age or older from employment discrimination based on age. Who the ADEA Covers The ADEA applies to private employers with 20 or more employees, state and local governments, employment agencies, labor organizations and the federal government.
The For Loop. The for loop is used when you know in advance how many times the script should run. Explanation: The example below defines a loop that starts with i=0. The loop will continue to run as long as i is less than, or equal to 10. i will increase by 1 each time the loop runs. Note: The increment parameter could also be negative, and the <= could be any comparing statement. How to use the for loop to loop through the different HTML headers.
The do-while loop. The do-while loop is similar to the while loop, except that the test condition occurs at the end of the loop. Having the test condition at the end, guarantees that the body of the loop always executes at least one time. The format of the do-while loop is shown in the box at the right. The test condition must be enclosed in parentheses and FOLLOWED BY A SEMI-COLON.