Expected results for test: P3-47.pl460 P3-47.pl460 : (define (arithmetic a b c) (+ (* (+ a 1) (+ b 2) (+ c 3)) (/ a b) (modulo (round (/ c b)) 1) (- a b c)) ) (define (main) (display (arithmetic 0.9 2.9 5.9)) (newline) (display (arithmetic 0.0 2.2 5.5)) (newline) ) (main) Input file: P3-47.pl460 0 errors found in input file P3-47.cpp : // Autogenerated PL460 to C++ Code // File: P3-47.cpp #include #include "Object.h" using namespace std; Object arithmetic (Object a, Object b, Object c) { Object __RetVal; __RetVal = (((a + Object("1")) * (b + Object("2")) * (c + Object("3"))) + (a / b) + (round ((c / b)) % Object("1")) + (a - b - c)); return __RetVal; } int main () { Object __RetVal; cout << arithmetic(Object("0.9"), Object("2.9"), Object("5.9")); cout << endl; cout << arithmetic(Object("0.0"), Object("2.2"), Object("5.5")); cout << endl; return 0; } PL460 program output: 75.26934482758621 28.000000000000004 C++ program output: 75.269344827586 28.0 Differences: < pl460 | cpp > 75.26934482758621 | 75.269344827586 28.000000000000004 | 28.0