This forum is now read-only. Please use our new forums! Go to forums
why can i not write tip = 15/100 ?
when i wrote tax = 6.75/100 in step 3, it got converted to 0.0675 on it’s own
however, when i wrote tip = 15/100, it showed me an error, saying “looks like tip has been assigned as zero.”
why did this difference come in? please tell me. :)
Answer 54f663d776b8fe42380007d4
Answer 5504c657e39efedc4b005338
0 votes
Try 15.0/100 instead. I got the same error message before.
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
1 comments
Hey thanks a lot! It really helped.