week2

来源:互联网 发布:dnf辅助dll源码论坛 编辑:程序博客网 时间:2024/05/17 06:14
1.1


输出55个*,之后并换行

/* Note:Your choice is C IDE */
#include "stdio.h"
#define N 55
void main()
{
    int a;
    for(a=1;a<=N;a++){printf("%d",a);
     printf("*\n");}
     
     
}


  2.1  无参数无返回值的函数 : 简单输出 fight 13info

/* Note:Your choice is C IDE */
#include "stdio.h"
int  K()

{
    printf("fight into13信息");
}

 void main(){
  K();}


0 0
原创粉丝点击