Expected results for test: P3-33.pl460 P3-33.pl460 : (define (function0 V0 V1) (display (+ V0 V1)) (newline) (display (+ 3.0 1.5)) (newline) ) (define (function1 V0 V1) (display (- V0 V1)) (newline) (display (- V1 V0)) (newline) ) (define (function2 V0 V1) (display (* V0 V1)) (newline) (display (* V1 V0)) (newline) ) (define (function3 V0 V1) (display (/ V0 V1)) (newline) (display (/ V1 V0)) (newline) ) (define (function5 V0 V1) (display (modulo V0 V1)) (newline) (display (modulo V1 V0)) (newline) ) (define (main) (function0 5 2) (function1 5 2) (function2 5 2) (function3 5 2) (function5 5 2) ) (main) Input file: P3-33.pl460 0 errors found in input file P3-33.cpp : // Autogenerated PL460 to C++ Code // File: P3-33.cpp #include #include "Object.h" using namespace std; Object function0 (Object V0, Object V1) { Object __RetVal; cout << (V0 + V1); cout << endl; cout << (Object("3.0") + Object("1.5")); cout << endl; return __RetVal; } Object function1 (Object V0, Object V1) { Object __RetVal; cout << (V0 - V1); cout << endl; cout << (V1 - V0); cout << endl; return __RetVal; } Object function2 (Object V0, Object V1) { Object __RetVal; cout << (V0 * V1); cout << endl; cout << (V1 * V0); cout << endl; return __RetVal; } Object function3 (Object V0, Object V1) { Object __RetVal; cout << (V0 / V1); cout << endl; cout << (V1 / V0); cout << endl; return __RetVal; } Object function5 (Object V0, Object V1) { Object __RetVal; cout << (V0 % V1); cout << endl; cout << (V1 % V0); cout << endl; return __RetVal; } int main () { Object __RetVal; __RetVal = function0(Object("5"), Object("2")); __RetVal = function1(Object("5"), Object("2")); __RetVal = function2(Object("5"), Object("2")); __RetVal = function3(Object("5"), Object("2")); __RetVal = function5(Object("5"), Object("2")); return 0; } PL460 program output: 7 4.5 3 -3 10 10 5/2 2/5 1 2 C++ program output: 7 4.5 3 -3 10 10 5/2 2/5 1 2 Differences: < pl460 | cpp > 7 7 4.5 4.5 3 3 -3 -3 10 10 10 10 5/2 5/2 2/5 2/5 1 1 2 2