SHARE
TWEET

Erick H1051191052

a guest Sep 16th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class Erick
  2. {
  3.     public static void main(String[] args){
  4.     // Tugas Daspro
  5.         int a = 71, b=80, c= 90;
  6.         double jumlah = a+b;
  7.         double kurang = c-a;
  8.         double kali = c*a;
  9.         double bagi = a/b;
  10.         System.out.println("Penjulmahan : "+jumlah);
  11.         System.out.println("Pengurangan : "+kurang);
  12.         System.out.println("Perkalian : "+kali);
  13.         System.out.println("Pembagian :"+bagi);
  14. }
  15.        
  16. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top