高普考題庫
112 年 112年公務人員高等考試三級考試暨普通考試・計算機概要
26執行下列C程式,並輸入「10 10 9」,下列何者為程式的輸出?#include <stdio.h>#include<iostream>int main() {int count =0, x=10, next;scanf("%d", &next);while (next == x){count++;scanf("%d", &next);}printf("%d", count);}