I'm taking a programming course, and have never wrote code before so this might seem like a dumb question...
I was given some values for some variables ( B=5 C=10 etc...) and was told to use the different Relational Operators with the sample equations given.
So far I have:
I can't get it to output true or false ... I keep getting 0 or 1 and I haven't found a reference anywhere to tell me how to get it to say false or true when it is compiled.Quote:
int B=5, C=10, D=20, E=64, F=2, A;
printf("Is B Greater Than C? %d\n", B>C);
Thanks :)