Question: C-programing write it in code block and solve the lap question 2. Complete Program 10.1 below. Trace the output of each math functions and brief

C-programing
write it in code block and solve the lap question
 C-programing write it in code block and solve the lap question

2. Complete Program 10.1 below. Trace the output of each math functions and brief what it does. [Lengkapkap Program 10.1 di bawah. Tentukan output dan huraikan peranan bagi setiap fungsi math yang digunakan.] 00 OWNE 1 2 3 4 5 6 // Program 10.1 #include #include // 1. Write down an appropriate directive here int main() int a = sqrt(9); printf(" 1. sqrt(9) is %d ", a); int i = pow (5,3); printf(" 2. pow (5,3) is %d ", i); int j = ceil(2.5); printf(" 3. ceil(2.5) is id ", j); 0 0 0 0 0 0 0 0 int k = floor (2.5); printf(" 4. floor (2.5) is %d ", k); int x = ceil(2.1); printf(" 5. ceil(2.1) is %d ", x); int y = floor (2.1); printf(" 6. floor (2.1) is %d ", y); getch(); return 0; }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!