摘要:
求两个整数的最大公因数 流程图:伪代码: 源代码: #include<iostream>using namespace std;int main(){ int x,y,i,k; cout<<"请输入两个整数"<<endl; cin>>x; cin>>y; if(x<y){ int t; t=x; x 阅读全文
posted @ 2023-05-16 16:35
夏季彼岸德
阅读(20)
评论(0)
推荐(0)
摘要:
不重复的三位数 用1 2 3 4这四个数组成不重复的三位数,每个数位的数也不同,问都有谁 流程图:伪代码:源代码: #include<iostream>using namespace std;int main(){ int a,b,c,d; for(a=1;a<=4;a++){ for(b=1;b< 阅读全文
posted @ 2023-05-16 16:22
夏季彼岸德
阅读(16)
评论(0)
推荐(0)

浙公网安备 33010602011771号