You are viewing a single comment's thread. Return to all comments →
Kotlin
val tip=(meal_cost/100)*tip_percent val tax=(tax_percent.toFloat()/100)*meal_cost val total=meal_cost+tip+tax println(Math.round(total))
Seems like cookies are disabled on this browser, please enable them to open this website
Day 2: Operators
You are viewing a single comment's thread. Return to all comments →
Kotlin