Alright, I'm a mechanical engineering student taking a mandatory C++ course and I am absolutely terrible at it. I currently need to write a program that I've been trying to write for a week and it's already late. I need to write a function for computing a moving average that is callable from main. If anyone can help me I'd really appreciate it.