摘要: 1.计算M/N,用数组储存计算中的中间值; 2.当中间值为0或数进入循环则结束计算; 3.输出; #include <iostream> using namespace std; void g(int m,int n){ int a[110],b[110]={0}; int t=0; while(m 阅读全文
posted @ 2023-05-25 16:49 The-rich 阅读(29) 评论(0) 推荐(0)