Hãy nhập câu hỏi của bạn vào đây, nếu là tài khoản VIP, bạn sẽ được ưu tiên trả lời.
![](https://rs.olm.vn/images/avt/0.png?1311)
#include <bits/stdc++.h>
using namespace std;
double a,b,s1,s2;
int main()
{
cin>>a>>b;
s1=2*a*b;
s2=(a*a*pi)/2;
cout<<fixed<<setprecision(2)<<s1+s2;
return 0;
}
![](https://rs.olm.vn/images/avt/0.png?1311)
2:
#include <bits/stdc++.h>
using namespace std;
double a;
int main()
{
cin>>a;
cout<<a*a;
return 0;
}
![](https://rs.olm.vn/images/avt/0.png?1311)
#include <bits/stdc++.h>
using namespace std;
double a;
int main()
{
cin>>a;
cout<<a*4<<endl;
cout<<a*a;
return 0;
}
![](https://rs.olm.vn/images/avt/0.png?1311)
c:
#include <bits/stdc++.h>
using namespace std;
double a,b;
int main()
{
cin>>a>>b;
cout<<a*b;
return 0;
}
![](https://rs.olm.vn/images/avt/0.png?1311)
#include <bits/stdc++.h>
using namespace std;
long long a,cv,dt;
int main()
{
cin>>a;
cv=a*4;
dt=a*a;
cout<<cv<<endl;
cout<<dt;
return 0;
}
![](https://rs.olm.vn/images/avt/0.png?1311)
uses crt;
var a:integer;
begin
clrscr;
readln(a);
writeln(a*4);
writeln(a*a);
readln;
end.
![](https://rs.olm.vn/images/avt/0.png?1311)
Câu 2:
#include <bits/stdc++.h>
using namespace std;
double a,b,cv,dt;
int main()
{
cin>>a>>b;
cv=(a+b)*2;
dt=a*b;
cout<<"Chu vi la:"<<fixed<<setprecision(2)<<cv<<endl;
cout<<"Dien tich la:"<<fixed<<setprecision(2)<<dt;
return 0;
}