I got rid of all the 'voids' for those two functions but now I'm getting this:

Code:
costwd ( )
*{
	if( (time >= 8) && (time <= 18))
	{
		cost = minutes * .40;
	}
	else
	{
		cost = minutes * .25;
	}

	fout << cost;
}
//==============================

costwe ( )
*{	
	cost = minutes * .15;
	
	fout << cost;
}
*


1st & 2nd *:error C2143: syntax error : missing ';' before '{'
3rd *: fatal error C1004: unexpected end of file found


I have no clue how to fix these errors because the 1st&2nd errors shouldn't be like that because I don't want the ';' there cause it's a function call, right?.

I still have no clue how to fix the 3rd error...



If anyone can shed some light for me, please do...

Thanks.