Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please solve all Q :(((( Q2-Determine the value of each of the following expressions: a. ceil(36.1) d. pow(3.2, 2) g. pow(2.5, 3) j. fabs(11.8) b.

please solve all Q :(((( image text in transcribed
image text in transcribed
Q2-Determine the value of each of the following expressions: a. ceil(36.1) d. pow(3.2, 2) g. pow(2.5, 3) j. fabs(11.8) b. pow(3.0, 4.0)/abs(-9) e. abs(-10) h. sqrt(38.2 c. fabs(-5.8) f. sqrt(36.0) i.floor(25.95) Q3-Consider the following statements: double num1, num2, num3; int int1, int2, int3; int value; num1 = 5.0; num2 = 6.0; num3 = 3.0; int1 = 4; int2 = 7; int3 = 8; and the function prototype: double cube(double a, double b, double c); Which of the following statements are valid? If they are invalid, explain why. a. value = cube (num1, 15.0, num3); b. cout

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning VB.NET Databases

Authors: Thearon Willis

1st Edition

1594864217, 978-1594864216

Students also viewed these Databases questions