06.01.2015 Views

IMPARARE IL C++ in 6 ore? - INFN

IMPARARE IL C++ in 6 ore? - INFN

IMPARARE IL C++ in 6 ore? - INFN

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

If concatenati<br />

If (expression1)<br />

{<br />

if(expression2) <strong>in</strong>dentatura come gli spazi e’<br />

statement1;<br />

<strong>in</strong><strong>in</strong>fluente (solo stile) <strong>in</strong> <strong>C++</strong><br />

else<br />

Da sottol<strong>in</strong>eare solo l’uso delle parentesi<br />

{ a <strong>in</strong>dicarci chi e’ l’else di quale if…..<br />

if(expression3)<br />

statement2;<br />

else<br />

AND&&<br />

statement3; OR | |<br />

} NOT !<br />

}<br />

else<br />

statement4;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!