有以下程序#include <stdio.h>Main(){ int x,a=1,b=1;While(1){ scanf("%d",&x);If(x>0) { a*=x; break; }If(x<0) { b*=x; continue; }Printf("%d,%d\n",a,b);} }程序运行时输入:-1 -2 0 1 2 <回车>,则输出结果是 选项: A: 2,2 B: 1,2 C:-1,1 D:-2,1 结果是 运行时 发布时间:2024-04-18 11:33:56