I couldn't figure out this problem and I'd appreciate some direction.
Assume that c is a char variable that has been declared and already given a value. Write an expression whose value is true if and only if c is what is called a whitespace character (that is a space or a tab or a newline-- none of which result in ink being printed on paper).
I tried the following but it didn't work. I think the ' ' is not working for me because it evaluates to TRUE also for other characters.
c==('\n') || ('\t') ||(' ')
Thanks,
Manor