I was practising some programming and came up with this code. But I am getting this error message : multi-character character constant [-Werror,-Wmultichar] from the 8th line
#include <cs50.h>
#include <stdio.h>
int main (void)
{
int n = get_int("what is your age: ");
if( n <= '25' || n >= '0')
{
printf("you are young\n");
}
else
{
printf("you are old\n");
}
}
-CONCLUSION-
In the 8th line , the single quote on 25 and 0 was not needed because 25 and 0 are int and not char. And || should be replaced with && because n should be in between 0 and 25.