We started to call functions this week and I'm having a bit of an issue. Hours worked over 37 pays time and a half and hours worked 50 and over is double time. Can anyone steer me in the right direction? New to the site and programming TIA!
#include <iostream>
using namespace std;
//getOVertime function prototype
double getOvertime(double hours, double rate);