Ask Question
22 October, 09:13

Let's now use our new calculator functions to do some calculations!

A. Add the square of 3 to the square root of 9 Save the result to a variable called calc_a

B. Subtract the division of 12 by 3 from the the multiplication of 2 and 4 Save the result to a variable called calc_b

C. Multiply the square root of 16 by the sum of 7 and 9 Save the result to a variable called calc_c

D. Divide the square of 7 by the square root of 49 Save the result to a variable called calc_d

+1
Answers (1)
  1. 22 October, 12:52
    0
    Ans1.

    double calc_a;

    calc_a=Math. pow (3.0,2.0) + Math. sqrt (9);

    Ans2.

    double calc_b;

    calc_b = ((12.0/3.0) - (2.0*4.0));

    Ans 3.

    double calc_c;

    calc_c = (Math. sqrt (16.0) * (7.0+9.0));

    Ans 4.

    double calc_d;

    calc_d=Math. pow (7.0,2.0) / Math. sqrt (49.0);

    Explanation:

    The expressions are done with Java in answer above.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Let's now use our new calculator functions to do some calculations! A. Add the square of 3 to the square root of 9 Save the result to a ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers