Create Q:6

6.	W.R.P. which will use ternary operator to check any condition