Hacker News new | ask | show | jobs
by donquichotte 3440 days ago
As an Under-Engineer, I enjoy writing code like this:

     for (i=0;i<n;i++) {
        printf("Please enter the %d%s array item\n",i,i==1?"st":"th");
        scanf("%lf",d+i);
     }
1 comments

There's nothing in this world quite like entering the 2th array item :P