SHARE
TWEET

M. Gabriel Aimar Alsa/C

a guest Sep 18th, 2019 116 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class GabrielAimar{
  2.     public static void main(String[] args){
  3.         int x = 500;
  4.         int y = 100;
  5.        
  6.         System.out.println(" Nilai x + y = "+ (x + y));//Penjunlahan
  7.         System.out.println(" Nilai x * y = "+ (x * y));//perkalian
  8.         System.out.println(" Nilai x / y = "+ (x / y));//pembagian
  9.         System.out.println(" Nilai x - y = "+ (x - y));//pengurangan
  10.        
  11.     }
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