f(int x,short y)
{
long z=y<0?x>0?x:0:y;
}


syntax highlighted by Code2HTML, v. 0.9.1