hi! good day im a newbie and trying to learn functions in C. and im having a problem with functions.
int charges (int l, int w)
{
int c_charg;
c_charg = 8.23 * area;
}
l = 6, w= 3, and area = 18
problem is 'c_charg' is assigned a value which is never used in function charges. and i don't understand what seems to be the problem. please help!