SpiceQA
Questions
Tags
Users
Badges
Is this the proper way to use the bool 'or' operator?
user_13746417
0
Created Nov 17, 2020
Edited Nov 17, 2020
Viewed 51
Follow
userString[count] == '!' || '.' || '?'
I am trying to say if the left equals ! or .(period) or ?
boolean
c++
2
0
Add comment
+
Share
0 Answers
Related