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