Computer Science, asked by Akritisingh201, 1 year ago

If m=5 and n=2, then what will be the output of m and n. Solve:-n=m+m/n;

Answers

Answered by shardul1925
32
Hello!!

It seems that u need it for java...

So;the answer is

int m=5;
int n=2;
n=m+m/n ;

Process:

n=m+m/n ;
n=5+5/2
n= 5+ 2
n=7

Output: 7.

U can also refer to the attachment ☝️☝️.
Attachments:
Answered by paramjitsinghvirk
9

Answer: there is answer

Explanation: ,

Attachments:
Similar questions