yanada yangi yilga qancha muddat qolganini topuvchi funksiya
Page preview (5 pages)
Scroll down 👇
About "yanada yangi yilga qancha muddat qolganini topuvchi funksiya"
o‘zbekiston respublikasi axborot texnologiyalari va kommunikatsiyalarini rivojlantirish vazirligi muhammad al-xorazmiy nomidagi toshkent axborot texnologiyalari universiteti informatika asoslari kafedrasi dasturlash fani 15- varyant bajardi: bahramov temurbek tekshirdi: ishniyazov odil toshkent 2023 2001-yil 17-may a) berilgan sanadan boshlab yangi yilga qadar qancha muddat qolganini topuvchi funksiya: #include #include int daysuntilnewyear(int currentday, int currentmonth, int currentyear) { struct tm newyear = {0}; newyear.tm_year = currentyear - 1900 + 1; // next year newyear.tm_mon = 0; // january newyear.tm_mday = 1; // 1st day struct tm currentdate = {0}; currentdate.tm_year = currentyear - 1900; currentdate.tm_mon = currentmonth - 1; currentdate.tm_mday = currentday; time_t currentt...
This file contains 7 pages in PDF format (475.4 KB). To download "yanada yangi yilga qancha muddat qolganini topuvchi funksiya", click the Telegram button on the left.