1. Life, the Universe, and Everything Problem code: TEST
#include <stdio.h>
int main()
{
int N;
while( 1 )
{
scanf( "%d", &N );
if( N == 42 )
break;
printf( "%d\n", N );
}
return 0;
}
#include <stdio.h>
int main()
{
int N;
while( 1 )
{
scanf( "%d", &N );
if( N == 42 )
break;
printf( "%d\n", N );
}
return 0;
}
No comments:
Post a Comment