TristanSld

denemearitmetik

Feb 9th, 2014
54
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import java.io.*;
  2.  
  3. public class aritmetik
  4.  
  5. {  public static void main(String[] args)
  6.  
  7.          {
  8.  
  9.          int sayi1=1;
  10.  
  11.          int sayi2=2;
  12.  
  13.          sayi1+=sayi2;
  14.  
  15.          System.out.println("sayi1+= : "+ sayi1);
  16.  
  17.          sayi1-=sayi2;
  18.  
  19.          System.out.println("sayi1-= : "+ sayi1);
  20.  
  21.          sayi1*=sayi2;
  22.  
  23.          System.out.println("sayi1*= : "+ sayi1);
  24.  
  25.          sayi1/=sayi2;
  26.  
  27.          System.out.println("sayi1/= : "+ sayi1);
  28.  
  29.          }
  30. }
RAW Paste Data