#include
#include
void alex()
{
printf("30");
getch();
exit(0) ;
}
void main()
{
int j=0;
j = 2;
for (int i = 1; i<10; i++)
{
if (i % 2 == 0)
{
j++;
}
}
alex();
j = 3;
printf("%d", j);
getch();
}
explanation :
1. "exit(exit_code) " this is not right. and moreover you need to include the proper header file for them to work. and the header file in this case is
"stdlib.h"
2. In exit code you need to have an integer value.
3. getch() in alex() function because in order to see the result we need to hold the screen before it exits and that is why I have included "getch" function in alex() .
ahh....good!
you are correct ! your method is different for what i thought. anyways congrats, let me know your BTC address.
thank you
Oh shoot! lol don't know what the fuck was i doing, btw if you're still seeing this here's my address: 1GKbp7H3xJpWwbTzLJBKcqxm7KXZLGTNjQ
thanks buddy!!