All pastes #477662 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-08 19:48 UTC
rendered paste body
#include <stdio.h>
#include <stdlib.h>

int main(void) {
	int i;
	
	printf("Enter a number: ");
	scanf("%i", &i);
	printf("\nYou entered: %i", i);
	
	exit(EXIT_SUCCESS);
}

--
$ ./test
Enter a number: 42

$