(Modify) Rewrite the following program to use the symbolic constant PRIME in place of the value 0.04 used in the program:
#includeusing namespace std;int main(){float prime, amount, interest;prime = 0.04; // prime interest ratecout << "Enter the amount: ";cin >> amount;interest = prime * amount;cout << "The interest earned is"<< interest << " dollars" << endl;return 0;}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.