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
Social Sciences,
3 months ago
India Languages,
3 months ago
Social Sciences,
6 months ago
Math,
6 months ago
Math,
11 months ago
Math,
11 months ago