Computer Science, asked by vedsonar22, 1 month ago

write a program to divide one number by the other and find out the percentage of the result

Answers

Answered by niharika6829
2

When you divide integer by integer, you will get integer. In your case it will be 0, because num1 is less than total. You need to cast one of them to double.

Similar questions