What is there solve method pls explain-remainder | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is there solve method pls explain-remainder

1.25%0.5=0.25

9th Mar 2018, 3:44 PM
Kamesh Joshi
Kamesh Joshi - avatar
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
9th Mar 2018, 4:54 PM
📈SmileGoodHope📈
📈SmileGoodHope📈 - avatar
+ 3
=> 1.25 = 1.00 and 0.25 => 5*20 == 100 => 100 == 1.0 => 1.0/1.0 == 0 Remainder => .25
18th Mar 2018, 11:15 AM
Sam Shanmukh
Sam Shanmukh - avatar
+ 2
1.25/0.5 gives you a remainder of 0.25
9th Mar 2018, 3:50 PM
shobhit
shobhit - avatar
+ 2
great answer AZM M RAHMAN THANK
9th Mar 2018, 5:16 PM
Kamesh Joshi
Kamesh Joshi - avatar
+ 2
Kamesh Joshi learning cse
30th Mar 2018, 2:56 PM
Sam Shanmukh
Sam Shanmukh - avatar
+ 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.
9th Mar 2018, 4:37 PM
Fata1 Err0r
Fata1 Err0r - avatar
0
kaise hua ye to btao
9th Mar 2018, 3:54 PM
Kamesh Joshi
Kamesh Joshi - avatar