I am trying to learn how to write in C. I am new to the whole thing. Got stuck on code. Just trying to find out how to make this code in to a pop up box to ask a question and then do something with the answer.
I'll put the code in now:
#include <stdio.h>
#include <stdlib.h>
int main ()
{
int age;
printf ("whats yo age???"/*condition goes here */);
scanf ("%d", age);
}
{ if (age <30)
/*condition goes here */
printf ("you a young buck");
/*if condition is non-zero (true), this code will execute*/
}
{
scanf
if ( age==30);
/*condition goes here*/
printf ("you getting old");
/*if condition is non-zero (true), this code will execute*/
}//