IfStatementsPractice

Everything output of this code works fine except for when I set sales equal to a value less than 10,000. Whenever I do, instead of getting the desire “.10,” I get a random decimal value. What can I do to fix this?

Do you mean to have a colon instead of an equals on line 11?

2 Likes

wow. A lot of these errors are so obvious. I can’t believe I missed something so simple. haha thank you

2 Likes

(post deleted by author)