Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Other assembly language
  • Category : assembly language
  • Tags :
  • Update : 2012-11-26
  • Size : 1kb
  • Downloaded :0次
  • Author :l***
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
#include<iostream> using namespace std int x(int a,int b) //x为求最大公约数的函数 { int t=0 if(a>b)t=b else t=a for(int i=t i>=1 i--)if(a i==0&&b i==0)break return i } int y(int a,int b) //y为求最小公倍数的函数 { int t=0 if(a>b)t=a else t=b for(int i=t i++)if(i a==0&&i b==0)break return i } void main() {int a,b,i,j cout<<"请输入两个整数"<<endl cin>>a>>b i=x(a,b) j=y(a,b) cout<<"两个整数的最大公约数为"<<i<<endl cout<<"两个整数的最小公倍数为"<<j<<endl }
Packet file list
(Preview for download)


说明.txt
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.