**New course!**Every coder should learn

**Generative AI!**

+ 2

# What is there solve method pls explain-remainder

1.25%0.5=0.25

7 Answers

+ 5

1.25= .5*2(=1)+.25
hence,
1.25 divided by .5, quotient is 2 and .25 isn't divided by .5 so it is remainder.
above term is expressed by modulus sign (%),where % shows only remainder,not shows quotient.
it is expressed by
5%2 = 1
11%4 = 3
12%7 = 5
1.25%.5 = .25

+ 3

=> 1.25 = 1.00 and 0.25
=> 5*20 == 100
=> 100 == 1.0
=> 1.0/1.0 == 0
Remainder => .25

+ 2

1.25/0.5 gives you a remainder of 0.25

+ 2

great answer AZM M RAHMAN THANK

+ 2

Kamesh Joshi learning cse

+ 1

Their 'solve method' is to divide the numbers and then return the remainder back to you. 0.5 goes into 1.25 twice, which equals 1.00. 1.00 subtracted by the dividend gives you 0.25.

0

kaise hua ye to btao