Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed
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

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

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions

Question

Choose an appropriate organizational pattern for your speech

Answered: 1 week ago