Is the number count by 10?



  • Simple number int♪ We've got to figure out if it's 10 full. It's kind of simple, but nothing's going on. Please help me.



  • Use this kind of task by the operator %returning balance from separation left valueRight

    Example:

    number = 10;
    if(number%10==0) System.out.println("Число делится на 10");
    

Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2