Write a program that asks a user for their birth year encoded as two digits (like "62") and for the current year, also encoded as two digits (like "99"). The program is to correctly write out the users age in years.
Answers
Answered by
7
Answer:
@echo off
:start
echo plz enter ur age(only 2 digit)
set /p answer=
if %answer% equ_ _goto next
if %answer% neq_ _goto start
:next
pause
IS IT CORRECT IF NOT PLZ. ANSWER ME THE REAL PROGRAM.
Similar questions