/* answer to question 17 */ #include #include void main(void) { int num1,num2,big,small,mechane; printf("Insert a number:"); scanf("%d",&num1); printf("Insert a number:"); scanf("%d",&num2); if(num1>num2) { big=num1; small=num2; } else { big=num2; small=num1; } mechane=big; while(mechane % small != 0) { mechane=mechane+big; } printf("The mechane is: %d \n",mechane); getch(); }