Kod:
#include <iostream>
using namespace std;
int main()
{
const int c = 6;
int a, b;
cout << "Kalkulator objetosci prostopadloscianu" << endl;
cout << "Autor: Imie Nazwisko" << endl;
cout << "Podaj dlugosc a: "; cin >> a;
cout << "Podaj szerokosc b: "; cin >> b;
cout << "a = " << a << endl;
cout << "b = " << b << endl;
cout << "c = " << c << endl;
cout << "V = a * b * c" << endl;
cout << "V = " << a << " * " << b << " * " << c << " = " << a * b * c;
return 0;
}