- 21

What value is stored in the result variable ?int x=8 ,y=5; int result x°/°y

find value How we can resolve???

2nd Mar 2017, 4:11 PM
Abdullah Ahmad
11 odpowiedzi
+ 6
<< On a US Keyboard layout, the percent sign is located on the numeral 5 key above the R and T. To insert % hold down the Shift key and press the 5 key. >> https://answers.microsoft.com/en-us/msoffice/forum/msoffice_word-mso_winother/which-key-will-i-type-to-get-the-sign-of/8fbabb6f-71df-42be-8bac-e6b3a6b84ffc
3rd Mar 2017, 9:20 AM
visph
visph - avatar
+ 1
% returns the remainder so 8/5 = 1 with a remainder of 3... So 3 is the stored value in the result variable
2nd Mar 2017, 4:16 PM
Alejandro Serrato
Alejandro Serrato - avatar
+ 1
How the remainder is 3
5th Mar 2017, 4:45 PM
Abdullah Ahmad
+ 1
If I divided 8/5 the ans come 1 I don't understood how the remainder is come 3
5th Mar 2017, 4:46 PM
Abdullah Ahmad
+ 1
hahaahhahaha thanks......😜
5th Mar 2017, 4:56 PM
Abdullah Ahmad
0
Tell how is it
5th Mar 2017, 4:46 PM
Abdullah Ahmad
0
8/5 = 1 with a remainder of 3 Then 1*5 = 5 + remainder... 5+3 = 8
5th Mar 2017, 4:51 PM
Alejandro Serrato
Alejandro Serrato - avatar
0
yesssss is it is
5th Mar 2017, 4:55 PM
Abdullah Ahmad
0
3
9th Feb 2019, 7:33 AM
Deivanai S
Deivanai S - avatar
0
What value is stored in the result variable? 8/5 = 1 with a remainder of 3 Then 1*5 = 5 + remainder... 5+3 = 8 8 divide 5 = 1,6 I keep just 1. BUT I DONT UNDERSTAND HOW I FIND THE REST (3) FROM 1 PLEASE HELP ME :(
12th Feb 2019, 5:50 PM
valentine
0
5 goes into 8 once Remainder: 3 Therefore : 8%5=3
26th Jun 2020, 6:57 PM
Jawad Rashid
Jawad Rashid - avatar