#include <stdio.h> int main() { int x=10,y=20,z=30; if(x>y) z=x; x=y; y=z; printf("x=%d,y=%d,z=%d",x,y,z); return 0; }