Pls solve this question i am not able to solve it, its regarding string of characters

to divide a number with 30 you have to check 2 condition

  1. last digit must be 0
  2. sum of digits must be divisible with 3

Can u please write the algorithm

first try yourself
if you have any doubt feel free to ask

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.