Write an Algorithm to calculate the age of a person, given their birth year
Answers
Answered by
3
Answer:
Step-by-step explanation:
Accept birth year.
set n to 0.
Loop while birth year not = current year.
if birthyear = current year
n = current year - birth year
print ' Persons age = n '
else
add 1 to birth year
end loop
Similar questions
Science,
8 hours ago
Math,
15 hours ago
Math,
15 hours ago
Accountancy,
8 months ago
Math,
8 months ago