零起点学算法08——简单的输入和计算(a+b)

Posted chenlong991223

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了零起点学算法08——简单的输入和计算(a+b)相关的知识,希望对你有一定的参考价值。

#include <stdio.h>
int main()
{
    int a;
    int b;
    scanf("%d %d",&a,&b);
    printf("%d",a+b);
    return 0;
}
#include <stdio.h>
int main()
{
    int a,b;
    scanf("%d",&a);
    scanf("%d",&b);
    printf("%d",a+b);
    return 0;
}

 

以上是关于零起点学算法08——简单的输入和计算(a+b)的主要内容,如果未能解决你的问题,请参考以下文章