Hey guys I made a program where we need a function to do th paycalculations of an employee and i am having trouble returning the values from the function when i run this it gives me a weird return like $7.99e-10 something like that when it shouldnt be. I have been trying to find the bug for hours can someone please help me with this problem..
Its not suppose to be a value it is suppose to be found if the user enters in more than 40 hours then those hours are to be considered overtime with double pay, less then 40 is regular pay