Advertisement
BoyanGyurov

1 zadacha

Oct 23rd, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. package zadachi;
  2.  
  3. public class asddasa {
  4.  
  5. public static void main(String[] args) {
  6. double a = 5;
  7. double b = 7;
  8. System.out.println("P = " + 2*(a+b));
  9. System.out.println("S = " + a*b);
  10. }
  11.  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement