0
help with basic aritmetic operations please
hello community, can somebody help me please with this code, i dont know why the output of division is wrong. https://code.sololearn.com/c5kTJF9t28vi
6 Answers
+ 2
moreover you did not declare return type of your functions.. Try this instead:
float Div(float dividendo, float divisor)
{
return dividendo/divisor;
}
it works...0
+ 2
And your multiply functions is wrong, since it does not return anything...You just have to add the return statement
+ 2
why did you just delete the code???
+ 1
Please design the code output on english
+ 1
Yes... you are missing return statements in function.
0
thanks for all