what will be the result of the following expression if (i)age =25 ,(ii)age=65 (iii)age= 85
age greater than 65 ?350:100
Answers
Answered by
12
Answer:
i) age= 25
So, the ternary operator will work the false part as the condition is not being satisfied here
so ans will be 100
ii) age = 65
Here also the false part will work beacause there is no equal to sign in the condition
So ans will be 100
iii) age = 85
The condition given is being satisfied
hence thr ans will be 350
Answered by
2
Answer:
this is not an English question
Explanation:
do mind it next time
Similar questions
English,
3 months ago
Math,
3 months ago
Science,
3 months ago
Math,
7 months ago
Social Sciences,
11 months ago
Social Sciences,
11 months ago