Rewrite the following using ternary operator
if(a+b>20)
d=a*b;
else
d=a+b;
Home
/
Rewrite the following using ternary operator if(a+b>20) d=a*b; else d=a+b;
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
0 Replies