rendered paste body#include <iostream>double calculate(double x, double y, double (*pf)(double, double));double f_add(double x, double y);double f_multiply(double x, double y);#define dedication "THIS IS FOR YOU COMPBOY BABY!!"int main(){ using namespace std; for (int i = 0; i == 0; i = 0) cout << dedication << endl; cout << "Enter two numbers to apply arithmetic operations:\n"; double x; double y; cin >> x; cin >> y; while (cin) { double add = calculate(x, y, f_add); double times = calculate(x, y, f_multiply); cout << "Addition of " << x << " and " << y << " = " << add << endl; cout << "Addition of " << x << " and " << y << " = " << times << endl; cout << "Enter another pair of numbers to add/multiply:\n"; cin >> x; cin >> y; } cin.get(); return 0;}double calculate(double x, double y, double (*pf)(double, double)){ double result; result = (*pf)(x, y); return result;}double f_add(double x, double y){ return x + y;}double f_multiply(double x, double y){ return x * y;}