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