I have a little problem trying to create this little program that calculates: arithmetic average (aka "media") // geometric average (aka "media2") // harmonic average (aka "media3"). This is the code:
Hey mate couple of things I noticed, firstly not sure if this is an issue with your compiler but when I load up your program it requires int main(void) { rather than void main(void){ (main returns an int value containing the errors so most compilers require it to have an int return format.)
Also, you are using float values but have %d in your program, %d works for integers but it get's a little messy when using it with floats, try using %f instead :)