#include<stdio.h>
#include<conio.h>
main()
{
int a,b,sum;
a=123,b=456;
sum=a*b;
printf("sum is %d\n",sum);
getch();
}
帮忙改成任意两数之积!!
#include<stdio.h>
#include<conio.h>
main()
{
int a,b,sum;
a=123,b=456;
sum=a*b;
printf("sum is %d\n",sum);
getch();
}
帮忙改成任意两数之积!!
#include<stdio.h> #include<conio.h> main() { int a,b,ji; scanf("%d",&a);
scanf("%d",&b);
ji=a*b; printf("ji is %d\n",ji); getch(); }
#include<stdio.h> #include<conio.h> main() { int a,b,sum; scanf("%d,%d",a,b); sum=a*b; printf("sum is %d\n",sum); getch(); }