Problem Statement - Ternary operator within cout chain for selective printing
Initialise a character variable. Now using the ternary operator within the cout chain of printing, print YES if initialised variable is Y and print NO if it is anything else.
- Learning to use ternary operator within the cout chain.
sunmitra| Created: 19-Jan-2018 | Updated: 5-Dec-2018|