You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having problems with the if statement printing out the lower number as shown in read me. I am using the ex. input given.
What I don't get is that in the main function, it calls compound statements. In compound, we have the option for T_INT which would call the variable declaration function. which is actually just initializing not declaring.
int i;
so there is no need for assignment at this point of course.
In the compound is the T_IDENT which calls the assignment function which we need for declaring but there is no relation to the actual T_INTLIT.
i = 6;
or am I missing something???
The text was updated successfully, but these errors were encountered:
I am having problems with the if statement printing out the lower number as shown in read me. I am using the ex. input given.
What I don't get is that in the main function, it calls compound statements. In compound, we have the option for T_INT which would call the variable declaration function. which is actually just initializing not declaring.
int i;
so there is no need for assignment at this point of course.
In the compound is the T_IDENT which calls the assignment function which we need for declaring but there is no relation to the actual T_INTLIT.
i = 6;
or am I missing something???
The text was updated successfully, but these errors were encountered: