Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

C (gcc 8.3) sample

#include <stdio.h>
 
int main(void) { 
	int x;
	for(; scanf("%d",&x) > 0 && x != 42; printf("%d
", x));
	return 0;
}
Source by ideone.com #
 
PREVIOUS NEXT
Tagged: #C #sample
ADD COMMENT
Topic
Name
7+2 =