0
Trace the following code fragment. What is the output?
Ayone can help me solve this problem https://code.sololearn.com/cyImr5vxY1hN/?ref=app
1 Antwort
+ 4
First, when you want to type multiple lines of codes inside "loops" and "if-else" statements, you must use curly brackets { } because without brackets the compiler will recognize only the first line as part of the statement.
And I see many syntax error in conditions and assignments. Don't worry, you will get used to it eventually, just keep practicing like what you're doing right now.
Keep Learning and All the Best!
https://code.sololearn.com/cA25A0435a5a