Console applications are computer programs that run on text only interface
The program written in Python, where comments are used to explain each line is as follows:
#This imports the date module
from datetime import date
#This gets the pet name
petName = input("Pet name: ")
#This gets the pet year of birth
petYear = int(input("Year of birth: "))
#This calculates the pet age
age = int(date.today().year) - petYear
#This prints the pet name and age
print(petName,' is',age,'years old')
Read more about computer programs at:
https://brainly.com/question/16397886