Quantcast
Channel: .:: محمدحسین فخرآوری ::.
Viewing all articles
Browse latest Browse all 237

تشخیص عدد زوج و فرد

$
0
0
public static bool IsOdd(int value){return value % 2 != 0;} public static bool IsEven(int value){return value % 2 == 0;}

Viewing all articles
Browse latest Browse all 237

Trending Articles