On Sun, Nov 9, 2008 at 2:41 AM, Brett McCoy <[EMAIL PROTECTED]> wrote:
> On Sat, Nov 8, 2008 at 9:39 PM, Paul Herring <[EMAIL PROTECTED]> wrote:
[...]
>> #include <stdio.h>
>>
>> int main(void){
>>    int x;
>>    for(x=1;x<013;++x){
>>        int o;
>>        printf("%*c", 0xb-x, ' ');
>>        for(o=1;o<=x;++o)
>>            printf("%d%s",(x+o-1)%012, (x-1)?"":"\n");
>>        for(o+=x-3;o>=x;--o)
>>            printf("%d%s", o%10, (x-o)?"":"\n");
>>    }
>>    return 0;
>> }
>
> Well, yeah, duh, obviously, but why are you doing his homework for him?

I'm counting on the fact that tutors actually look at the source code
as well as checking for correct functionality.

-- 
PJH

http://shabbleland.myminicity.com/env

Reply via email to