Rewrite the following statement using if else:
int max=215, min=323;
String str= (max>min) ? "Max is greater than Min": "Min is Greater than Max"
kindly plz give answer fast
mark as brainlist
Answers
Answered by
1
Explanation:
int max=215, min=323;
if(max>min)
{
printf("Max is greater than min");
}
else{
printf("Min is greater than max");
}
Similar questions
History,
2 months ago
Math,
2 months ago
Computer Science,
2 months ago
Social Sciences,
4 months ago
Math,
4 months ago
Math,
9 months ago
Math,
9 months ago