Question: 2_14 points) Find programming errors in the code below. Mark clearly where an error is. Write a short explanation why you think it is an

 2_14 points) Find programming errors in the code below. Mark clearly
where an error is. Write a short explanation why you think it

2_14 points) Find programming errors in the code below. Mark clearly where an error is. Write a short explanation why you think it is an error. #include #include using namespace std; int main ) 0.25; const double RATE = double num; int n = 2; cout > num; num = RATE num; roundValue (num, n); return 0; } void roundvalve (double num, int n) double newNum; int int Part; new Num = num; if (num > 100) newNum = num * pow110.0, n); newNum = newNum + 0.55; int Part - int (new Num); newNum - double (intPart)/pow/10.0, n); if (num = 200) newNum num pow (20.0, n): newNum = newNum + 0.75; intPartint (new Num), newNum = double (int Part) /pow (20.0, n); 3 cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!