What will be the value of n if int n=m+m/n; when m=5,n=2;
A)7
B)7.5
C)Error
Answers
Answered by
3
The output will be 7.5
Explanation:
It first evaluates m / n which is 2.5 & then adds 5 to 2.5 which is 7.5
Similar questions
Social Sciences,
2 months ago
Math,
2 months ago
Biology,
2 months ago
Computer Science,
4 months ago
Science,
9 months ago
Hindi,
9 months ago
Math,
9 months ago