0
What is wrong with my code?
pls i dont know why my code wont work https://code.sololearn.com/cW0ZS0KpKb4W/?ref=app
7 Answers
+ 1
/u00a0 is a ânon-breaking space characterâ. This means that you just need to remove all of the tabs and spaces in the program and it should work.
+ 1
Bobby Dike , here you go:
https://www.sitepoint.com/java-unicode-mysterious-compile-error/
I hope that helps.
(there is a solution and exlanation at the bottom of that webpage.. )
+ 1
Bobby Dike
There are some unknown characters in your code. It happens because you have copied code from somewhere. So the solution is rewrite your code.
https://code.sololearn.com/cSRO7kiHtSA8/?ref=app
+ 1
also here is the tool to remove it, (if you use PC)
https://code.sololearn.com/c5xtcD05VAc3
+ 1
thanks
+ 1
the code calculates the total of even numbers and odd numbers, but it does not do it from the array, it counts based on the size of the array. How do i solve this problem.
For example, if this was an array of 8
12 23 46 24 56 78 89 34
the program will say there are 4 even numbers and 4 odd, which is not true.
i need the program to say there are 6 even numbers and 2 odd numbers.
https://code.sololearn.com/cW0ZS0KpKb4W/?ref=app
- 1
I hope you sleep like you to meet with the cheating woman