- 1

How to write "or" on c++

eg if (kkk=123 or kkk=677)

6th Dec 2017, 4:46 PM
BAHATI K. KAZIKODI
BAHATI K. KAZIKODI - avatar
5 Respostas
+ 7
The || operator is the thing you need. Eg - if(kkk==123||kkk==677){}
6th Dec 2017, 4:48 PM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
+ 1
thanks
6th Dec 2017, 5:00 PM
BAHATI K. KAZIKODI
BAHATI K. KAZIKODI - avatar
0
thanks
6th Dec 2017, 4:48 PM
BAHATI K. KAZIKODI
BAHATI K. KAZIKODI - avatar
0
but i can't find that operator on keyboard
6th Dec 2017, 4:50 PM
BAHATI K. KAZIKODI
BAHATI K. KAZIKODI - avatar
0
Its above € and ¢ after ` and before •
6th Dec 2017, 4:53 PM
RZK 022
RZK 022 - avatar