3 ms·
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"); s
by donquichotte 10y 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);
}
- Jarwain 10y agoThere's nothing in this world quite like entering the 2th array item :P