I'm practicing C programming language before jump to objective-c, so I'm using the last version of XCode 4.6.3 (I believe this is the last version). I want to read an input, a numeric input (age), and show the dog age of a person. Here is my code
#include <stdio.h>
int main()
{
int age;
printf("How old are you? \n");
scanf("%d",&age);
age = age *7;
printf(\nIn dog years you are %d years old",age);
return 0;
}
so i enter my age and it doesn't show the result, sry for the newb question but I've already asked 4 people from work and nothing :( Thanks!

The Answer! I don't know why this happens, but I solved it (kind of fun hahahaha). I'm using apple keyboard and the NumLock ENter key doesn't work for debugg o.O . When I use the main Enter key, it works! Thanks everyone =)
scanf?