0 Members and 1 Guest are viewing this topic.
#include <stdio.h> #include <stdlib.h> int main() {int h=9, d=0,x;while (h--){for(x=0; x<39;x++){int a=x -6;if(a<0)a=-a;printf ("%c", (a <= d) ? '*':(( float)rand()/RAND_MAX<(.3/(h+1))?'.':' '));}printf("\n");d++;}}
A am not celebrating X-mas <..>
I don't look upon life as someone who seek every chance to throw or have a party, and even on days as special as these can be for Christians. It's just you who do that, or maybe others as well, but not me.