For example, consider $y$ such that $$ y=\cases{c, & if $c\le0$,\\0, & if $c>0$.} $$ Then, it can be easily expressed as $$y=\min\{c, 0\}.$$
Using the above trick, can I express the following $y$ using $\max$ or $\min$ ? $$ y = \cases{c, & if $c\le d$,\\ 0, & if $c>d$.}$$