Rewrite the following statement using suitable 'if (statement:
int ans =res > 365 ? 500/10: 300/10;
Answers
Answered by
1
Answer:
int ans;
if(res>365)
ans=500/10;
else
ans=300/10;
Similar questions
Math,
2 months ago
Math,
6 months ago
Science,
6 months ago
Math,
11 months ago
Computer Science,
11 months ago