I have a quick question about the program. It is saying that my variables under float are constantly not being initialized. Please let me know if You can solve it. Thanks.
That is because you try to use them before you initialize them. For example, you set average = (first+second+third)/(3.), but first, second, and third haven't been given a value yet.