Advertisement
Guest User

Rangga power

a guest
Nov 11th, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. public class FindPowerExample {
  2.  
  3. public static void main(String[] args) {
  4.  
  5. System.out.println(Math.pow(2,2));
  6.  
  7. System.out.println(Math.pow(-3,2));
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement