خرید بک لینک

Vote count: 0

I am coding something like:

if (x=1 && y=2 && z=3 && (a=1 or 2 or 3))

That concept where I can have multiple values for a. I currently have this coded into 3 different if statements which is tedious.

Is there a simple solution, for example, calling 1,2,3 into an array and say

if (x=1 && y=2 && z=3 && a=array of 1,2,3)

Thanks

asked 2 mins ago

- - , .

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 19 اسفند 1394 ساعت: 19:49

صفحه بندی