Can someone help me with the question (i, l, o, p, v, x)
Posted: Sun May 15, 2022 1:08 pm
Can someone help me with the question (i, l, o, p, v,
x)
A C program contains the following declarations and initial assignments: int i = 8, j = 5; double x = 0.005, y 0.005, y = -0.01; char c = 'C', d = ''; =
Determine the value of each of the following expressions, which involve the use of library functions. (See Appendix H for an extensive list of library functions.) (a) abs(i - 2* j) (n) log(exp(x)) (6) fabs(x + y) (o) sqrt(x*x + y*y) (c) isprint(c) () isalnum (10. j) (d) isdigit(c) (9) isalpha(10 * i) (e) toupper(d) () isascii(10 * j) ceil(x) (s) toascii(10 * ) (8) ceil(x + y) (1) fmod(x, y) (h) floor (x) (u) tolower (65) (1) floor (x + y) (v) pow(x - y, 3.0) 0) islower(c) (w) sin(x - y) (k) isupper(1) (x) strlen('hello10") (1) exp(x) (y) strpos("hello\0', 'e') (m) log(x) (z) sqrt(sin(x) + cos(y))
x)
A C program contains the following declarations and initial assignments: int i = 8, j = 5; double x = 0.005, y 0.005, y = -0.01; char c = 'C', d = ''; =
Determine the value of each of the following expressions, which involve the use of library functions. (See Appendix H for an extensive list of library functions.) (a) abs(i - 2* j) (n) log(exp(x)) (6) fabs(x + y) (o) sqrt(x*x + y*y) (c) isprint(c) () isalnum (10. j) (d) isdigit(c) (9) isalpha(10 * i) (e) toupper(d) () isascii(10 * j) ceil(x) (s) toascii(10 * ) (8) ceil(x + y) (1) fmod(x, y) (h) floor (x) (u) tolower (65) (1) floor (x + y) (v) pow(x - y, 3.0) 0) islower(c) (w) sin(x - y) (k) isupper(1) (x) strlen('hello10") (1) exp(x) (y) strpos("hello\0', 'e') (m) log(x) (z) sqrt(sin(x) + cos(y))