编写程序实现从键盘输入两个任意正数,编程求以两数为边长的长方形周长!
什么语言的?
VC++的我会
int m,n,lenght;
cin>>m>>n;
lenght=m*2+n*2;
cout<<lenght<<endl;