A+B for Input-Output Practice (II)

来源:互联网 发布:安卓优化软件排行榜 编辑:程序博客网 时间:2024/04/30 21:15

A+B for Input-Output Practice (II)

#include<stdio.h>
void main()
{
int T,i=0;
long long sum,a,b;
scanf("%d",&T);
while(T--)
{
sum=0;
scanf("%lld%lld",&a,&b);
sum=a+b;
i++;
printf("Case %d:\n",i);
printf("%lld+%lld=%lld\n",a,b,sum);
printf("\n");
}
}

0 0