Menu
Tabs vs Spaces: The eternal holy war.
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
9 months ago
428.3K 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
Only Option Remaining
Programming
19.3M views
2 days ago
WALI Single Monitor Mount for 13-34 inch Screens, Adjustable Single Monitors Arm, Regular Screen up to 32 inch, 26.4lbs, Computer Monitor Stand for Desk, VESA 75/100mm (GSMP001N), Black
Affiliate
$19.99
GearScouts.com
Sponsored
Power stations