Sagot :
Cevap:
using System;
class MainClass {
public static void Main (string[] args) {
DateTime dogumgunu=new DateTime(yil,ay,gun);
DateTime bugun = DateTime.Today;
int yas = bugun.Year - dogumgunu.Year;
if (dogumgunu > bugun.AddYears(-yas))
yas--;
Console.WriteLine(yas);
}
}
Açıklama:
Thank you for visiting our website wich cover about Bilgisayar. We hope the information provided has been useful to you. Feel free to contact us if you have any questions or need further assistance. See you next time and dont miss to bookmark.