Computer Science, asked by shrivastavaryan2908, 11 months ago


Raj was working on application where he wanted to
wanted to divide the two
number (A and
and B) he has written the expression as
A/B, on
execution he entered 30 and
and 7 and expected answer was
4 i.e. only
integer part not in decimal, but the answer
answer was 4.285 approx, help
Raj to correct his expression and achieving the desired output.
Correct Expression :​

Answers

Answered by jefferson7
1

Raj was working on application where he wanted to

wanted to divide the two

number (A and

and B) he has written the expression as

A/B, on

execution he entered 30 and

and 7 and expected answer was

4 i.e. only

integer part not in decimal, but the answer

answer was 4.285 approx, help

Raj to correct his expression and achieving the desired output.

Correct Expression :

Explanation:

Raj was working on application where he wanted to

wanted to divide the two

number (A and

and B) he has written the expression as

A/B, on

execution he entered 30 and

and 7 and expected answer was

4 i.e. only

integer part not in decimal, but the answer

answer was 4.285 approx, help

Raj to correct his expression and achieving the desired output.

Correct Expression : C = A // B

Similar questions