Demo entry 6344722

Hello World!

   

Submitted by anonymous on Jan 23, 2017 at 19:08
Language: C++. Code size: 529 Bytes.

//Definintion
int var;

//Deklaration
var = 20;

//Definition/Deklaration
int var2 = 45;

//Schleifenkopf
for(int i = 0; i < 20; i++) { 
  //Schleifenrumpf

}

//Schleifenkopf
int cond = 5;
while(c < 20) {
   c++;
   //Schleifenrumpf
}
//if-Bedingung
if(c < 20) {
  // c ist kleiner 20
} else if(c > 50) {
  //c ist größer 50
} else {
  //c ist größer 20 aber kleiner 50
}

switch (c)
{
  case 20: /*code*/ break;
  case 50: /*code*/ break;
  case 70: /*code*/ break;
  default: /*code*/
}

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).