Правильный
Объяснение:
#iclude <iostream>
using namespace std;
int main(){
int Part, S;
cout << "Type part of the cube:";
cin >> Part;
S = Part * 6;
S = S * S;
cout << "\nS = " << S << "\n";
}
using namespace std;
int main()
{
double a,v,sp,sg;
cin>>a;
v=a*a*a;
sp=6*a*a;
sg=a*a;
cout<<"V="<<v<<"; Spov="<<sp<<"; Sgr="<<sg;
return 0;
}
Правильный
Объяснение:
#iclude <iostream>
using namespace std;
int main(){
int Part, S;
cout << "Type part of the cube:";
cin >> Part;
S = Part * 6;
S = S * S;
cout << "\nS = " << S << "\n";
}