Changes

Jump to: navigation, search

Team Mighty Morphin Coding Rangers - OOP344

60 bytes added, 15:36, 30 January 2010
m
Coding Style
<code>
main () { <br/><br/>
int x; //Notice the four spaces over <br/> int y; <br/><br/> for (x = 0, y = 10; x < 10 && y > 0; x++, y++) { <br/>
printf("x is %d, y is %d\n", x, y); <br/> printf("The sum of x and y is %d\n", x + y); <br/> if (x == 5) <br/> printf("We've reached the halfway point!\n"); //Moved four spaces over } <br/><br/> printf("Hello, world!"); <br/>
} <br/>
</code>
1
edit

Navigation menu