a. (3*i-2*j) * (2*i*j) b. 2* ((i/5)+ (4* (j-3))%(i+j-2)) (i-3*j)%2/(x-y) d. ! (i<=j) C. е. (i>0) && (i<5) f. (x>y)&&(i>0)||(j<5) (x>y) & & (i>0) & & (j>5) h. ceil(x) i. floor (x+y) g.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 21PE
icon
Related questions
Question

A C program contains the following declarations and
initial assignments:
int i=8,j=5;
float x=0.05,y=-0.01;

Determine the value of each of the following expressions

a. (3*i-2*j) * (2*i*j)
b. 2* ( (i/5) + (4* (j-3))% (i+j-2))
(i-3*j)%2/(x-y)
d. ! (i<=j)
e. (i>0) & & (i<5)
C.
f. (x>y) && (i>0)||(j<5)
(x>y) & & (i>0) & & (j>5)
g.
h. ceil (x)
i. floor (x+y)
Transcribed Image Text:a. (3*i-2*j) * (2*i*j) b. 2* ( (i/5) + (4* (j-3))% (i+j-2)) (i-3*j)%2/(x-y) d. ! (i<=j) e. (i>0) & & (i<5) C. f. (x>y) && (i>0)||(j<5) (x>y) & & (i>0) & & (j>5) g. h. ceil (x) i. floor (x+y)
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning