Everywhere you make a function call: You need to get rid of those types at the beginning and in the parentheses. Else, C++ will treat them as declarations, which you don't want.
Lines 20 and 21: Not a compilation error, but there are simpler and more legible ways to do what I think you want to do. See: http://www.cplusplus.com/reference/cctype/
Line 24: Prime example of why you shouldn't use
. Namespace std has something called count, and when you have a global variable (something that you also shouldn't use) called count as well, the compiler doesn't know which you mean. Either get rid of the global variables, or get rid of
, but preferably both. :P
Line 38: You forgot to declare Output before you call it in main().
Line 44: Missing semicolon, capitalization issues.
Line 46: Missing return type, capitalization issues.
Line 54: You have one << too many on the end.
Line 58: Capitalization issues, you never ultimately return a double so why do you have that specified as the return type?
Line 60: You're mixing <<s and >> s. Are you sure you meant to do that?
Line 63: One closing-bracket too many (I think).
You may want to read these: