Write single C statement or line for each of the following P

Write single C statement or line for each of the following: Print the message \"Enter two numbers.\" Assign the product of the variables x and y to the variable named z. Read three integer values into the int variables a, b and c. Copy the reciprocal of y into x.

Solution

Hi buddy, please find the below answers. The statements are self explanatory

a. printf(\"Enter two numbers\");

b. z = x*y

c. scanf(\"%d%d%d\",&x,&y,&z);

d. x = 1/y;

 Write single C statement or line for each of the following: Print the message \

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site