Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- public class Main {
- public static void main(String[] args) {
- double val = (30 + 21) * 0.5 * (35 - 12 - 0.5);
- double sqrVal = Math.pow(val, 2);
- System.out.println(sqrVal);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement