Computer Science, asked by biswasrai425, 4 months ago

iv.
System out println("m=" + m);
Change the following snippet from if statement to Ternary Operator
if (grade > A1)
Result = " Distinction",
else
Result = "First Division" ;
Change the following snippet from ternary operator to if statement
Status = (Age = = 18) ? "Adult"; "Child";

Answers

Answered by SanjanaDH
1

Answer:

if grade A1 result=first division

if age 18= adult

Explanation:

plz give tqs and markas brainest

Similar questions