+ 15

Can you see where the error is in this code?

I couldn't solve a code coach problem because of some invisible error. I copied the code to "Error Example". Then I rewrote everything and sure enough — everything works flawlessly. What the heck is wrong 🙅? https://code.sololearn.com/cZhtjgPvIEVg/?ref=app https://code.sololearn.com/ct97r5GxwGim/?ref=app

15th Dec 2021, 1:33 PM
🇺🇦 Vitya 🇺🇦
🇺🇦 Vitya 🇺🇦 - avatar
5 odpowiedzi
+ 15
Thank you, JESUS EDUARDO CANUL KOYOC 😄! Any idea what was the cause?
16th Dec 2021, 10:28 PM
🇺🇦 Vitya 🇺🇦
🇺🇦 Vitya 🇺🇦 - avatar
+ 12
Okay, thanks again!
16th Dec 2021, 10:30 PM
🇺🇦 Vitya 🇺🇦
🇺🇦 Vitya 🇺🇦 - avatar
+ 3
Some special character is used between if (res > 10000) { ^ as u can see there is small unexpected space res <- res * x if (res > 10000) { ^
15th Dec 2021, 1:48 PM
Pariket Thakur
Pariket Thakur - avatar
+ 3
Yarik Yaroo the sintax in line 9 is wrong, check the comments in your code bro
17th Dec 2021, 3:36 PM
Cmurio
Cmurio - avatar
+ 3
No. I'm sorry
13th Jan 2022, 12:13 PM
Anonimous
Anonimous - avatar