I'm pretty new to programming, and i'm just playin around with c trying to get a feel for it. this is my source code:
// fun with c !!#include
printf("What's your name?
printf("Pick a number:
printf("Pick another number:
printf("The 1st number was %d. The second number was %d.
", num, num2);
what i want it to do is ask for a name, then say ok thename then ask for 2 numbers an spit em back out at me. When i compile i get no errors or warnings but when i try to run it, it asks for the name but when i give it a name and hit enter it simply says SEGMENTATION FAULT and exits. What am i doing wrong and how can i fix it ? any help would be greatly appreciated.