No Flash

C Program for Drawing INDIA Map




C Program for Drawing INDIA Map

All C Programmers here is the Code for drawing INDIA's MAP on the the Command Prompt Console. Just using the simple C Program consisting of two for loops.

#include <stdio.h>
void main()
{
int a,b,c;
for (b=c=10;a="- FIGURE?, UMKC,XYZHello Folks,\
TFy!QJu ROo TNn(ROo)SLq SLq ULo+\
UHs UJq TNn*RPn/QPbEWS_JSWQAIJO^\
NBELPeHBFHT}TnALVlBLOFAkHFOuFETp\
HCStHAUFAgcEAelclcn^r^r\\tZvYxXy\
T|S~Pn SPm SOn TNn ULo0ULo#ULo-W\
Hq!WFs XDt!" [b+++21]; )

{
for(; a-- > 64 ; )
{
putchar ( ++c=='Z' ? c = c/ 9:33^b&1);
}
}

getch();
}



Note: A warning stated "Possibly Incorrect Assignment Occurs.. Just Ignore it and execute the program!"

Download Standard C OR Download C 3