why is it that if the var result is 20 and the result* = 5 why is the resulting value 1 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 5

why is it that if the var result is 20 and the result* = 5 why is the resulting value 1

30th Jul 2017, 3:40 PM
Charlie Deane
Charlie Deane - avatar
8 Answers
+ 12
It would help if you post your code.
30th Jul 2017, 3:45 PM
Hatsy Rei
Hatsy Rei - avatar
+ 5
100
27th Oct 2019, 3:29 PM
Anthony Dwomoh
Anthony Dwomoh - avatar
+ 2
100
21st Jan 2020, 7:37 AM
Kusum Sharma
Kusum Sharma - avatar
+ 1
Ans is 100
4th Sep 2018, 9:07 AM
KRISHNA VENI S CSE
KRISHNA VENI S CSE - avatar
0
100
3rd Apr 2019, 8:20 AM
Jean Eude NGOUADONO
Jean Eude NGOUADONO - avatar
0
100
3rd Mar 2022, 12:50 AM
Toqs
Toqs - avatar
0
100
27th Sep 2022, 8:54 PM
Sinoyolo
- 7
Please calculate and type the resulting value of the following expression: var result = 20; result *= 5;
13th Mar 2019, 1:53 PM
Diane Lee
Diane Lee - avatar