prog.c: In function ‘main’:
prog.c:6:1: error: ‘age’ undeclared (first use in this function)
age= int(input("Please enter your age: "))
^~~
prog.c:6:1: note: each undeclared identifier is reported only once for each function it appears in
prog.c:6:6: error: expected expression before ‘int’
age= int(input("Please enter your age: "))
^~~
prog.c:10:5: error: expected declaration or statement at end of input
print("Not Eligible")
^~~~~