Rewrite the following c+ code using if else statement Large = (n1>n2)? n1 : n2 ;
Answers
Answered by
2
Answer:
minMultiple = n1 > n2 ? n1 : n2;
minMultiple stores the value of the variable which one is bigger.
The alternative of the above statement using if ... else is furnished hereinafter.
if(n1 > n2)
minMultiple = n1;
else
minMultiple = n2;
Explanation:mark me as brainliest.
please:)
Similar questions