✅ How can i fix this?

i was wondering if someone could help me write my asking for age method error is Local variable 'ageInput' might not be initialized before accessing error in LOC 49
https://paste.mod.gg/kihrmrjohlvd/0
what ive tried and looked at https://stackoverflow.com/questions/57947128/use-of-unassigned-local-variable-in-an-if-statement
and tried changing
cs 
int ageInput;
to something like intageinput = ConvertInt32(Console.Readline())
but that didnt work either e.o
A tool for sharing your source code with the world!
Stack Overflow
So I'm trying to start coding again(done a year in college before and thinking of going back but need to get back into swing of things. Doing this simple console application and getting this error....
Was this page helpful?