Контакти

 Skype: Magnumv44

 Telegram: Magnumv44

 Адрес электронной почты защищен от спам-ботов. Для просмотра адреса в браузере должен быть включен Javascript.

 GitHub

 Instagram

С Днем Программиста!

import java.util.Calendar;

class ProgrammerDay {

    static void programmerDay(int day) {
        if (day == 256) {
            System.out.println("С Днем Программиста!");
        } else {
            System.out.println("Hello World!");
        }
    }

    public static void main(String[] args) {
        int day;
        Calendar calendar = Calendar.getInstance();

        day = calendar.get(Calendar.DAY_OF_YEAR);

        programmerDay(day);
    }
}

Вот такой вот в этот раз псевдокод =) хотя если его запустить он выдаст результат и скомпилируется даже без ошибки!

С праздником Вас дорогие друзья! Поменьше багов, побольше чистого кода! Карьерного роста, хорошего кофе с печеньками =)

We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.