Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main {
- public static void main(String[] args) {
- int number=200;
- boolean isDivide7and5=false;
- if(number%5==0&&number%7==0){
- isDivide7and5=true;
- }
- System.out.println(isDivide7and5);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment