Okay I took a closer look at your program and found the problem. The reason why your pyramid function is not working is because there's still data in your buffer when you used scanf(). This can be easily resolved by calling fflush(stdin) before every scanf function. Perhaps you should look into using fgets instead.

Also in your Sport() function, you declared it as void. However, you have some return 0 statements in there.

Hope that helps.