#include "stdio.h" main() { int a,b,sum;#include "stdio.h"main(){int a,b,sum;printf("Enter two numbers:\n");scanf("%d%d",&a,&b);for(;a

来源:学生作业帮助网 编辑:六六作业网 时间:2025/01/30 17:16:23
#include"stdio.h"main(){inta,b,sum;#include"stdio.h"main(){inta,b,sum;printf("Entertwonumbers:\n");s

#include "stdio.h" main() { int a,b,sum;#include "stdio.h"main(){int a,b,sum;printf("Enter two numbers:\n");scanf("%d%d",&a,&b);for(;a
#include "stdio.h" main() { int a,b,sum;
#include "stdio.h"
main()
{
int a,b,sum;
printf("Enter two numbers:\n");
scanf("%d%d",&a,&b);
for(;a

#include "stdio.h" main() { int a,b,sum;#include "stdio.h"main(){int a,b,sum;printf("Enter two numbers:\n");scanf("%d%d",&a,&b);for(;a
sum初始定义的时候没有赋值
int sum =0 ;
这样在试试