Code Snippets C

#include
int main(void)
{
int x, j;
printf("Enter a number: ");
scanf("%d", &x);
for(j = x; j > 0; j--)
printf("%d\n", j);
printf("\a");
return 0;
}