why we got 25 in this code | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

why we got 25 in this code

https://code.sololearn.com/crsSweFqhZr0 thanks

21st Aug 2018, 9:41 AM
wally22
4 Respostas
+ 8
Ascii value of 'Z' and 'A' are 90 and 65 respectively. 90-65 = 25
21st Aug 2018, 9:46 AM
Shamima Yasmin
Shamima Yasmin - avatar
+ 5
ASCII "Z" = 90 "A"=65 90-65=25//" Z"-"A"
21st Aug 2018, 10:00 AM
KƤzĆ® MrĆ®dĆ¹l HĆøssƤƮn
KƤzĆ® MrĆ®dĆ¹l HĆøssƤƮn - avatar
+ 2
When you use ' ' you are referring to a character, which uses the arithmetic operations on their ASCII values. Then, Shamina has explained the procedure itself.
21st Aug 2018, 9:49 AM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
+ 2
thanks
21st Aug 2018, 10:00 AM
wally22