PLEASE HELP ME HERE what have i done wrong here??????????

0 votes
asked Mar 15, 2018 by annonymus
#include<stdio.h>

int total(int , int , int );

int main()

{

{

int x,y,z;

printf("enter three numbers");

scanf("%d%d%d", &x, &y, &z );

}

{

int total(int a, int b, int c);

float Q;

int a,b,c;

if(a<0)

printf("error");

else if (b<0)

printf("error");

else if (c<0)

printf("error");

else

Q = (0.33*a*a*a+2*b*b-4*a*c);

return Q;

}

}

1 Answer

0 votes
answered Mar 15, 2018 by anonymous
https://onlinegdb.com/B1vyIM_Kz

is this want you wanted to do?
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...