Last edited on
and so on it computes perfectly it just doesn't output correctly

Really? Here is what the online compiler says about your code:

In function 'int main()':
23:11: error: 'Start_up' was not declared in this scope
68:28: warning: the address of 'double Mean(int, int)' will always evaluate as 'true' [-Waddress]
69:24: warning: the address of 'int Max(int*, int)' will always evaluate as 'true' [-Waddress]
70:27: warning: the address of 'int Median(int*, int, int)' will always evaluate as 'true' [-Waddress]
71:24: warning: the address of 'int Min(int*, int)' will always evaluate as 'true' [-Waddress]
72:25: warning: the address of 'int Mode(int*, int)' will always evaluate as 'true' [-Waddress]
79:1: error: a function-definition is not allowed here before '{' token
25:6: warning: unused variable 'mean' [-Wunused-variable]
177:1: error: expected '}' at end of input


I did not put all of my code on here because it was too long I was just looking for help with the output file. I know my program works so that's why I did not post all of it. The output looks like this

The Mean is 013815DC
The Max is 013811B8
The Median is 01381145
The Min is 01381659
The Mode is 013813D4

but obviously I would want it to look like this

The Mean is 15
The Max is 55
The Median is 20
The Min is 1
The Mode is 25
Last edited on
Topic archived. No new replies allowed.