haha1235 |
|
||
2013年10月30日
摘要:
/*计算和,差,商,积*/#includeint main(void){ double num1,num2; char op; printf("Type in an expression:"); scanf("%lf%c%lf",&num1,&op,&num2); switch(op){ case'+': printf("=%.2f\n",num1+num2); break; case'-': printf("=%.2f\n",num1-num2); brea 阅读全文
|
Copyright © 2024 haha1235
Powered by .NET 9.0 on Kubernetes |