var a, b, c: real;
begin
read(a, b, c);
writeln('V = ', a * b * c);
writeln('S = ', 2 * (a * b + a * c + b * c));
end.
#include <iostream>
using namespace std;
int main() {
int n,i;
cout<<"Vvedite celoe chislo n " ;
cin>>n;
double a[n];
double b[n];
cout<<"Vvedite elementi a ";
for(i=0;i<n;i++) {
cout << "a[" << i+1 << "]= ";
cin>>a[i];
}
b[0]=a[0];
b[n-1]=a[n-1];
for(i=1; i<n-1; i++) b[i]=a[i]+a[i+1];
for (i=0;i<n;i++){
cout << " b[" << i+1 << "] = " << b[i];
}
return 0;
}
ИК-порт:пульт-телевизор.
Bluetooth: Мобильный телефон