Skip to content
Advertisement

Tag: addition

PHP Class for adding two numbers

I am doing a challenge in PHP with OOP/classes and I am not sure why I am not passing the test case for two random numbers being added together. My syntax must be off somewhere, but I am very new to PHP so I am having trouble figuring it out. Here are the instructions for my challenge: Write a class

Advertisement