top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

C Program to print India MAP?

+13 votes
921 views

Try the following program

#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}TnALVlBLOFAkHFOuFETpHCStHAUFAgcEAelclcn^r^r\\tZvYxXy\
T|S~Pn SPm SOn TNn ULo0ULo#ULo-WHq!WFs XDt!" [b+++21]; )

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

Output

                !!!!!!                                                     
                !!!!!!!!!!                                                 
                 !!!!!!!!!!!!!!!                                           
                   !!!!!!!!!!!!!!                                          
                 !!!!!!!!!!!!!!!                                           
                  !!!!!!!!!!!!                                             
                  !!!!!!!!!!!!                                             
                    !!!!!!!!!!!!                                           
                    !!!!!!!!                                               
                    !!!!!!!!!!                                             
                   !!!!!!!!!!!!!!                                          
                 !!!!!!!!!!!!!!!!                                          
                !!!!!!!!!!!!!!!!                                  !!!!!    
              !!!!!!!!!!!!!!!!!!!                               !!!!!!!!!! 
             !!!!!!!!!!!!!!!!!!!!!!!                 !         !!!!!!!!!!  
        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!              !!     !!!!!!!!!!!!    
       !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!        !!      !!!!!!!!       
        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!      
         !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!       
          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  !!!!!!!!!!!!       
   !!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!        !!!!!!        
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!      !!!!!         
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!        !!!          
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!        !          
      !!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!                       
       !!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!                         
              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!                          
             !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!                           
              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!                               
              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!                               
              !!!!!!!!!!!!!!!!!!!!!!!!!!!!                                 
              !!!!!!!!!!!!!!!!!!!!!!!!!!                                   
              !!!!!!!!!!!!!!!!!!!!!!!!!                                    
               !!!!!!!!!!!!!!!!!!!!!!!!                                    
                !!!!!!!!!!!!!!!!!!!!                                       
                !!!!!!!!!!!!!!!!!!!                                        
                 !!!!!!!!!!!!!!!!                                          
                  !!!!!!!!!!!!!!!!                                         
                  !!!!!!!!!!!!!!!                                          
                   !!!!!!!!!!!!!!                                          
                    !!!!!!!!!!!!                                           
                    !!!!!!!!!!!!                                           
                    !!!!!!!!!!!!                                           
                      !!!!!!!!                                             
                      !!!!!!                                               
                       !!!!                                                
posted Jan 7, 2014 by anonymous

  Promote This Article
Facebook Share Button Twitter Share Button LinkedIn Share Button

...