Search⌘ K

Challenge 2: Square of Sum of Numbers

Explore how to create a PHP function that squares the sum of two integers. Understand the use of basic operators within a functional programming context for clear, concise code.

Problem statement

Write a PHP function sum_square() that squares the sum of two integers. The function should take two integers as parameters, add them, and ...