PTA習題6-7 簡單計算器(20 分)

#include<stdio.h> int main() { int num,sum,error=0; char op='0'; scanf("%d",&sum); scanf("%c",&op); do{ if(op=='=') break; scanf("%d",&num); if(op==
相關文章
相關標籤/搜索