• 2022-06-09
    有以下程序,若运行时从键盘输入:18,11<;回车>;,则程序输出结果是_______ 。#include "stdio.h"void main(){ int a,b;printf("Enter a,b:");scanf("%d,%d",&a,&b);while(a!=b){ while(a>;b) a-=b;while(b>;a) b-=a; }printf("%3d%3d\n",a,b); }
    A: 1 1
    B: 1 2
    C: 1 3
    D: 1 4