谁会用C语言编一程序,只要能进行10以内的整数的乘发计算就行,知道的大哥帮帮忙啦,先说一声"谢谢"啦!!!!

来源:百度知道 编辑:UC知道 时间:2024/06/23 01:20:14
只要代码,谢谢~~~~~~

#include<stdio.h>
void main()
{
int a,b;
printf("请输入两个数:");
scanf("%d,%d",&a,&b);
printf("%d",a*b);
}
这样成么?

#include <stdio.h>
void main()
{
int a,b;
printf("please input two numbers ");
scanf("%d,%d",&a,&b);
printf("\n your answer is: %d",a*b);