Answer:
Hi!
Explanation in Javascript:
int age;
int seniorCitizens = 0;
int nonSeniors = 0;
while(true) { //infinite loop, always true.
age = getAge(); // gets the age.
if (age >= 65) { // if age is greater or equal to 65 adds 1 to seniorCitizens and show the age.
o
seniorCitizens = seniorCitizens + 1;
print (age);
}
else { // otherwise adds 1 to nonSeniors.
nonSeniors = nonSeniors + 1; //
}