Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package zadachi;
- public class asddasa {
- public static void main(String[] args) {
- double a = 5;
- double b = 7;
- System.out.println("P = " + 2*(a+b));
- System.out.println("S = " + a*b);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement