Need help! I don't know how to express if statement, if original string is empty and integer is 0? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Need help! I don't know how to express if statement, if original string is empty and integer is 0?

https://code.sololearn.com/c3I9EC5pG8i9/?ref=app Code is practicaly correct, I just don't know how to express this additional if statement. In my code this integer is as denominator. So I have problem.

12th Jul 2022, 6:49 PM
TeaserCode
3 Antworten
0
Mark the code or refer to a line.
13th Jul 2022, 7:28 AM
Mustafa A
Mustafa A - avatar
0
Line 23
13th Jul 2022, 7:57 AM
TeaserCode
0
Thanks for answer, but I like that it will return "". Because there must be return string not statement.
13th Jul 2022, 8:56 AM
TeaserCode