Advertisement
Auraldo

Class Arreglo

Oct 1st, 2014
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.32 KB | None | 0 0
  1. Class Arreglo{
  2. int A= new int[100];
  3. int B= new int[100];
  4. int C= new int[100];
  5.  
  6.     Arreglo(){
  7.         random ran=new random(0);
  8.         for(int i=0;i<=A.size;i++){
  9.         A[i]=random.next(20);
  10.         }
  11.         for(int i=0;i<=B.size;i++){
  12.         A[i]=random.next(20);
  13.         }
  14.     }
  15.  
  16.     Division(){
  17.     for(int i=0;i<=B.size;i++){
  18.         C[i]=A[i]/B[i];
  19.         }
  20.     }
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement