СРОЧНО 30 БАЛЛОВ!!!!
Перевести этот код в Python:
#include
using namespace std;
int main()
{
int a = 0;
int b = 0;
int c = 0;
cout << "Введите три целых числа: " << endl;
cin >> a >> b >> c;
if (a <= 0) cout << a*a << " ";
if (a > 0) cout << a*a*a << " ";
if (b <= 0) cout << b*b << " ";
if (b > 0) cout << b*b*b << " ";
if (c <= 0) cout << c*c << endl;
if (c > 0) cout << c*c*c << endl;
return 0;
}
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2025 SCHOLAR.TIPS - All rights reserved.