How use if with an char? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How use if with an char?

Does some on know how use if with an char?

20th Sep 2021, 6:22 AM
dan peled
dan peled - avatar
3 Answers
0
Are you talking about if condition with char data type simply Do like this char a='f' If(a=='f') ........ ....... .......
20th Sep 2021, 6:55 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
Yes. when I do that that gives me errors
21st Sep 2021, 5:20 AM
dan peled
dan peled - avatar
0
Can u help?
5th Oct 2021, 4:30 PM
dan peled
dan peled - avatar