Menu
It's not a bug, it's an undocumented feature.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Even odd check Memes
Posts tagged with Even odd check
I Just Made My First C Program :D
C++
Programming
Debugging
Algorithms
1 year ago
627.2K views
0 shares
Behold, the classic "I just learned programming" approach to checking if a number is even or odd! Instead of using the modulo operator ( n % 2 == 0 ), our brave beginner has hardcoded every possible case from 0 to 25. It's like building a dictionary to look up what 2+2 equals instead of just adding the numbers. This is the programming equivalent of bringing a printed map of every street in the country instead of using GPS. The best part? This code technically works... until someone enters 26.
Today's picks
Lenovo ThinkPad P14s Gen 6 Copilot+ Mobile Workstation 14.0" IPS WUXGA
Affiliate
$2049.99
Self Taught Javascript Developer
Javascript
21.4M views
5 months ago
Don't drive and deploy
Programming
105.7K views
4 years ago