c Language practice 6-- * signal output by the pattern of the letter C

#include <stdio.h> 
#include <stdlib.h>
 / * Title: * signal output by the pattern of the letter C * / 
int main () { 
    System ( " Color 1F " );   // set the display frame for the blue white 
    System ( " MODE CON Lines cols = 80 = 30 " );   // fixed display frame size 
    / * *************************** ************** program body parting line (top) ************************************************************ * / 
// the while (. 1) { 
    the printf ( "          * * \ n- " ); 
    the printf ( "        * * \ n- " ); 
    the printf ( "      *       * \n");
    printf("     *\n");
    printf("    *\n");
    printf("    *\n");
    printf("    *\n");
    printf("    *\n");
    printf("    *\n");
    printf("     *\n");
    printf("      *       *\n");
    printf("       *    *\n"); 
    The printf ( "         * * \ n- " );
 // } 
    / * ********************************* ******** program body parting line (bottom) ************************************************************ * / 
    return  0 ; 
}

 

Guess you like

Origin www.cnblogs.com/gougouwang/p/11401593.html