DoIt := proc() local a := readstat( "Input an integer: " ): local b := readstat( "Input another integer: " ): printf( "Sum = %d\n", a + b ): printf( "Difference = %d\n", a - b ): printf( "Product = %d\n", a * b ): printf( "Quotient = %d\n", iquo( a, b, 'c' ) ): printf( "Remainder = %d\n", c ); # or irem( a, b ) NULL # quiet return end proc: