Can somebody help me? it's an exam | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can somebody help me? it's an exam

It's an exam, it's a circuit which I have to pass to C++ but I can't do it https://code.sololearn.com/c8fq7ougsrXr/?ref=app

31st Aug 2023, 4:01 PM
YhansitoCraft76
YhansitoCraft76 - avatar
3 Answers
+ 4
|| is the c++ "or operator". && is the "and operator" in C++. Read about logical operators in cpp.
31st Aug 2023, 5:26 PM
Jayakrishna 🇮🇳
+ 1
Si así es el circuito en c++ me imagino como será su diagrama 🫣 , pero la notacion parece más de Python
31st Aug 2023, 7:29 PM
Jhordy Gavinchu
Jhordy Gavinchu - avatar
+ 1
use '||' symbol on the place of or, and use '&&' symbol on the place of and
2nd Sep 2023, 9:34 AM
Alhaaz
Alhaaz - avatar