#include<stdio.h> int main() { int A,B; printf("请输入A和B的值:\n"); scanf("%d%d",&A,&B); printf("result=%d",A+B); system("pause"); return 0; }
Double click to view unformatted code.