daily pastebin goal
13%
SHARE
TWEET

Untitled

YamaDrama Oct 5th, 2014 298 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class DelenieNa63 {
  2.         public static void main(String [] args){
  3.                 int [] mas = {3,4,5,6,8,9,12,36,18,27,42};
  4.                 for ( int i = 0;i < mas.length;i++){
  5.                         if(mas[i] % 3 == 0 && mas[i] % 6 == 0){
  6.                                         System.out.print( mas[i] + ",");
  7.                         }      
  8.                 }
  9.         }
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top