0
Explain the working of conditional operators with examples?
3 ответов
+ 1
(bool exp) ? (do something) : (do something)
(bool exp) if true if false
example
int biggestnum = (x < y) ? x : y ;
here x and y are two int values inputted from user
0
while, if and break, continue
0
you are asking for this.... (...) ?...:...; ?