The functions that I tried calling can't be called. Although when I remove the data type they are called but when I tried putting a data type it wont work. It compiles but shows blank screen
Haven't tried anything yet as this is my first time encountering this
Function 1
double computeGrossPay(int hoursWorked, int perHourRate){
double grossPay = hoursWorked * perHourRate;
cout << "This is the computed Gross Pay"<<grossPay<<endl;
return grossPay;
}
int main (){
double computeGrossPay(int hoursWorked, int perHourRate);
}
No error but no Results(Blank CMD)