#include <stdio.h>

int main() { int A, B; // 定义两个整数变量A和B scanf('%d %d', &A, &B); // 从用户输入中读取两个整数值,并将它们存储在变量A和B中 int product = A * B; // 计算A和B的乘积,并将结果存储在变量product中 printf('%d\n', product); // 将product的值打印到屏幕上 return 0; // 返回0,表示程序执行成功 }

C语言程序:计算两个整数的乘积

原文地址: https://www.cveoy.top/t/topic/qd5I 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录