SHARE
TWEET

Untitled

a guest Jul 16th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class sayılarıgoster {
  2.  
  3.     //Author ßari$
  4.  
  5.     public static void main(String[] args) {
  6.  
  7.         double a;
  8.         double b;
  9.         double c;
  10.  
  11.         Scanner scanner = new Scanner(System.in);
  12.         System.out.println("A sayısını giriniz(taban): ");
  13.         a = scanner.nextInt();
  14.         System.out.println("B sayısını giriniz(kuvvet): ");
  15.         b = scanner.nextInt();
  16.  
  17.         c = Math.pow(a,b);
  18.  
  19.         System.out.println("Üstünü aldığınız sayı: "+c);
  20.        
  21.        
  22.     }
  23. }
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