(单选题)有以下程序#include <stdio.h>Void 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: 1,2 B: 2,2 C: -1,1 D: -2,1 结果是 运行时 发布时间:2024-04-18 11:33:56