help with percentages PLEASEEE(java) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

help with percentages PLEASEEE(java)

ok I've been digging through the inter net for half an hour and haven't found one straight answer how do i make a code that calculates a % of user input

21st May 2022, 2:30 AM
Nikos Garcia
1 Answer
0
Nikos Garcia you could see it this way.. Given value / Total value * 100 Gives you the percentage of the given value.
22nd May 2022, 1:43 PM
Bhaveshsingh Pawar
Bhaveshsingh Pawar - avatar