- #1
- 4,652
- 37
I feel silly asking this but I can't get my "If" statement to work correctly. This should print "a is NOT equal to b" but it prints "a is equal to b".
Any help? Thanks!
#include <stdio.h>
int main(void)
{
int a = 10;
int b = 15;
if(a == b)
printf("a is equal to b \n");
else
printf("a is NOT equal to b \n");
return 0;
}
Any help? Thanks!
#include <stdio.h>
int main(void)
{
int a = 10;
int b = 15;
if(a == b)
printf("a is equal to b \n");
else
printf("a is NOT equal to b \n");
return 0;
}