- 21
What value is stored in the result variable ?int x=8 ,y=5; int result x°/°y
find value How we can resolve???
11 Réponses
+ 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
+ 1
% returns the remainder so 8/5 = 1 with a remainder of 3... So 3 is the stored value in the result variable
+ 1
How the remainder is 3
+ 1
If I divided 8/5 the ans come 1 I don't understood how the remainder is come 3
+ 1
hahaahhahaha thanks......😜
0
Tell how is it
0
8/5 = 1 with a remainder of 3
Then 1*5 = 5 + remainder... 5+3 = 8
0
yesssss is it is
0
3
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 :(
0
5 goes into 8 once
Remainder: 3
Therefore : 8%5=3