please can someone help me with the tip calculator? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

please can someone help me with the tip calculator?

9th Oct 2021, 5:13 AM
Mbome Lolita
Mbome Lolita - avatar
2 Answers
+ 2
Where is your code? how can people help when you don't show your code? how can they suggest you anything without analysing your code? Share your code bit link in the Description above ☝ https://www.sololearn.com/post/75089/?ref=app
9th Oct 2021, 5:36 AM
Ipang
0
Hello, I am assuming the question you are asking for help on is on how to add a percentage or tax to a value. What are we trying to do? We have some amount and we want to increase itself by a percentage. In programming, we use logical operators +=, -= and *= to increment a value and set it to the value. Remember the formula for calculating percent for a number is : (percentage/100 * number).
9th Oct 2021, 9:00 AM
Jibraeel Abdelwahhab
Jibraeel Abdelwahhab - avatar