zoukankan      html  css  js  c++  java
  • 第一次实验

    #include<stdio.h>

    int main() {  

    char c1,c2;

     c1=197;

     c2=198;

     printf("c1=%c,c2=%c ",c1,c2);  

    printf("c1=%d,c2=%d ",c1,c2);

     return 0;

    }

    #include<stdio.h>

    int main()

    {  

    char c1,c2;

     c1=97;

     c2=98;  

    printf("c1=%c,c2=%c ",c1,c2);

     printf("c1=%d,c2=%d ",c1,c2);  

    return 0;

    #include<stdio.h>

    int main()

    {

     int a,b,sum;

     a=123;

     b=456;  

    sum=a+b;

     printf("sum is%d ",sum);

     return 0;

    }

    #include<stdio.h>
    int main ()
    {
    float x,y,z;
    scanf("%f,%f",&x,&y);
    if(y<0)
     y=-y;
    z=(x+1/y);
    printf("%d %15.6f %e ",(int)z,z,z);
    while(1)
    return 0;
    }

  • 相关阅读:
    文件上传和下载
    代理模式
    设计模式分类
    单例模式
    抽象工厂模式
    成长
    Java教程
    python面试大全
    python入门教程
    收藏网摘
  • 原文地址:https://www.cnblogs.com/P201821430012/p/10689516.html
Copyright © 2011-2022 走看看