------------------------------- CST8165 Lab Attendance Exercise #82 - Week 2 ------------------------------- -Ian! D. Allen - idallen@idallen.ca - www.idallen.com This is a quick program to complete and submit as your record of attendance in the lab this week. No assignment header is needed. Just fix, test, and submit the source file. Submit your completed source file using this (exact) command line: $ ~alleni/bin/cstsubmit 82 order.c Source begins here: /* * Add IF statements to this program so that no matter what numbers * are used for x,y,z the output is in ascending order: x <= y <= z * The program must work for any integer values of x, y, and z. * * Do not use a loop or bubble sort - all you need is IF statements. * Do not use more IF statements than necessary to order three numbers. */ main(){ int x = 1; /* this could be any integer */ int y = 2; /* this could be any integer */ int z = 3; /* this could be any integer */ /* put your IF statements here to make x <= y <= z */ printf("%d <= %d <= %d\n",x,y,z); /* do not change this output line */ }