Give it an initial value...
At present, you declare it, and then immediately use it to multiply by itself. Since it doesn't have a specific start value, VS rightly complains.
int fact = 1;
BTW: In future, don't be so lazy: copy and paste your code here (within a code block).
That way, if we need to compile or run it, we can - without having to type it in again ourselves. :doh:
Help us to help you!