I am trying to calculate 3 things from a data file using functions , I think something is wrong in main() because I not returning the right results
What do you guys think?
/* Christopher R...
Type: Posts; User: smithc2005
I am trying to calculate 3 things from a data file using functions , I think something is wrong in main() because I not returning the right results
What do you guys think?
/* Christopher R...
So here I am writing this code and I am having problems with something basic, but I think I am overlooking something simple. Reading a text file I had to come up with arithmetic sum and...
I am not sure if understand this part of the code
double MAX ( double a, double b )
{
return a > b ? a : b;
}
double MIN ( double a, double b )
{
what if we aren't supposed to "know" how to make a user defined function like you did in
double MAX ( double a, double b )
and
double MIN ( double a, double b )
So here I am writing this code and I am having problems with something basic, but I think I am overlooking something simple. I am trying to read from a text file and compute mean, root mean, and Max...
So none of my variables were saving so I made this simple code to check to see what was up and I dont know what to do
int main()
{
int x,y;
x=1;
y=1;
printf("%d %d", &x, &y);