Subject: PHP

Sum of Numbers Divisible by 3 or 5

Use a loop to find the sum of all numbers from 1 to 100 that are divisible by either 3 or 5 in PHP.

Select file or drag and drop

PNG, JPG, SVG

Preview