#include<stdio.h>
#include<stdlib.h>
/*题目:打印楼梯和笑脸*/
int main()  {
//system("color 1F");  // 设定显示框为蓝底白字
system("mode con cols=80 lines=30");  //固定显示框尺寸
/******************************************程序主体分割线(顶部)*************************/
int a,b;
printf("            :)  (:\n\n\n"); 
for(a=1;a<=8;a++){
    for(b=1;b<=8;b++)
        if(a==b)
        printf("");
    else printf("  ");
    printf("\n");
   }
/******************************************程序主体分割线(底部)***************************/
return 0;
}

 

相关文章:

  • 2022-02-09
  • 2021-09-13
  • 2021-07-24
  • 2022-12-23
  • 2021-12-19
  • 2022-02-17
  • 2022-01-24
猜你喜欢
  • 2021-07-11
  • 2022-12-23
  • 2021-07-15
  • 2021-07-01
  • 2022-01-16
  • 2021-07-25
相关资源
相似解决方案