0
Why doesn't this code work?
https://code.sololearn.com/cUesap0dsCmX/?ref=app This is the fixed code: https://code.sololearn.com/cKA6KB2L9GW3/?ref=app thanks to you all for helping me.
3 ответов
+ 5
When you figure out what the problem is, don't edit the initial code, make a copy, edit that, and post it. This way the others can have the opportunity to learn from your case.
+ 4
Smith Welder Pls avoid giving finished code as answer, because it makes the OP skip the most important part of learning. Prefer giving hints for the OP to find the solution instead.
+ 2
A lot going on here! For starters, you can't "#inculde" anything lol.
In the sololearn playground specifically, though, you also can't import anything that isn't part of the standard library, so no conio.h
That aside, you also can't do "a = b = c", and string literals (in this case "faran allah verdi") need to be enclosed in quotation marks " ".
Finally, it won't break the code, but you forgot to add spaces between your words when outputting.
Also, it won't hurt anything at all, but you never actually use the variable myhight (and height is spelled wrong, if you care about that).