Question #255894

Declare integer variables x, y, z and assign the value 10 in the y and 20 in the z.


Expert's answer

#include <stdio.h>


int main()
{
    int y=10;
    int z=20;
    int x=z+y;
    printf("The value of x is:%d ",x);
    printf("\nThe value of y is:%d ",y);
    printf("\nThe value of z is:%d ",z);
    return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS