C is the most used programming language and printing India's map will be cherry on the cake so I thought
making a tutorial on printing map of India on your computer screen !
This is simple see program using to two loops.
Now copy paste the above code .But C doesnt Copypaste from other content . So first create a Notepad document copypaste the above code in it and the save it in Yourfilename.c (Please note the save it in .c )#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(); }
and open C and Go to Left corner and click on File, Go down click on Open and open your file which you have saved.
And Guess what done Compile ( Alt + F9) and then Run it ! and see Our India's map.
0 comments:
Post a Comment
Please don't Spam in the comments section of Tech Window