Skip to content

Instantly share code, notes, and snippets.

@Iainmon
Created April 25, 2018 08:04
Show Gist options
  • Save Iainmon/306cb2a5f5d6a8c89c0139f99d9a96f4 to your computer and use it in GitHub Desktop.
Save Iainmon/306cb2a5f5d6a8c89c0139f99d9a96f4 to your computer and use it in GitHub Desktop.
C sample code
#include <stdio.h>
int main()
{
int number;
printf("Enter an integer: ");
scanf("%d", &number);
printf("You entered: %d", number);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment