We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day of the Programmer
Day of the Programmer
Sort by
recency
|
1510 Discussions
|
Please Login in order to post a comment
The "Day of the Programmer" is celebrated on the 256th day of the year, which usually falls on September 13th (or September 12th in leap years). This unique holiday honors programmers and developers, taking inspiration from the number 256, a significant value in computing. It’s the highest power of 2 that fits within a single byte (8 bits), making it a fitting representation through Convert inches for those who work with binary code and software development. The day is an opportunity to recognize the creativity, problem-solving skills, and innovations that programmers bring to the digital world.
For Java 15:
Here is my c++ solution, you can watch the explanation here : https://youtu.be/U1u7Zz4ngVg
python
Here's my java solution if(year>=1919 && year<=2700){ if(year%4==0 && (year%100!=0 || year%400==0)){ return 12+".09"+"."+year; }else{ return 13+".09"+"."+year; } }else if(year>=1700 && year<=1917){ if(year%4==0){ return 12+".09"+"."+year; }else{ return 13+".09"+"."+year; } }else{ return "26.09.1918"; }