Untitled
Anonymous
Plain Text
08/08/2024 10:03 AM
274 B
17
Indexable
Never
#include <iostream>
using namespace std;
int main()
{
int a, P,b;
cout << "podaj liczbe do szecianu\n";
cin >> a;
while(a<=0)
{
cout << "liczba musi byc dodatnia\n";
cin >> a;
}
P = 6 * a * 2;
cout<<"twoja liczba to " << P << "\n";
}Editor is loading...
Leave a Comment