employer cover photo
employer logo
employer logo

3dplm Software Solution

Is this your company?

3dplm Software Solution interview question

Print even number between 0 to 100 without using any loops. How will you write your code.

Interview Answers

Anonymous

17 Sept 2016

Solution was very simple, use recurring function if you are not allowed to use loops

Anonymous

30 Mar 2018

function f($val) { echo $val."<br>"; if($val < 100) f($val + 2); } f(0);