[ prog / sol / mona ]

prog


Marvin Minsky - The Beauty of the Lisp Language

76 2020-10-07 11:02

>>75
The code with that loop,loop1 and the print loop would normally
written as one function(though inflexible), it would just do the equivalent of:

 for(int x=param1;x<param2;x++){if(!(x&1))printf(" %d",x);}

or if there need to be an array of something filled with even numbers:

for(int i=2;i<200;i+=2)arr[index++]=i;
301


VIP:

do not edit these