Suppose we told you there can be quite a pill you might take to really lose weight? well, we found one, and we wish to let you know a little more about it. if it actually does all that it says, you’re going to want to know more, it’s called shape x2 keto , and we understand what it’s want to in contrast to what you see whenever you try the mirror, and we believe that nobody needs to have to undergo that. that’s why we’re here today. we want to make sure you’re getting what you expect, even though there’s a good chance that you’ve already heard about shape x2 keto pills.
#include <iostream>
using namespace std;
int main()
{
int YBorn , YNow ;
cout <<"what year where you born in?"<<endl;
cin >>YBorn;
cout <<"what year is it now?"<<endl;
cin >>YNow;
int YOld=YNow-YBorn;
cout<<"at the end of the year:"<<endl;
cout << "you're " <<YOld << " years old"<<endl;
int MOld = YOld*12;
cout<< "and "<<MOld<<" month old"<<endl;
int DOld=YNow/4-YBorn/4+YOld*365;
cout<<"and "<<DOld<<" days old"<<endl;
int HOld=DOld*24;
cout<<"and "<<HOld<<" hours old"<<endl;
int MinOld=HOld*60;
cout<<"and "<<MinOld<<" minutes old"<<endl;
int SOld=MinOld*60;
cout<<"and "<<SOld<<" seconds old"<<endl;
cout<<"and "<<SOld<<"000 miliseconds old"<<endl;
system("pause");
return 0;
}
язык программирования питон
1)
import math;
r = int(input());
print(2 * math.pi * r);
print(math.pi * r ** 2);
2)
1.
import math;
a = float(input());
b = float(input());
print((math.sqrt(a) + math.sqrt(b)) / (math.sqrt(a ** 2 + b ** 2)));
2.
import math;
z = float(input());
y = float(input());
print((z * y) / (math.sqrt(z ** 3 + y ** 3)));
3.
import math;
x = float(input());
print(math.abs(x ** 2 - 2.4 * x + ((x + 1) / (x ** 2 + 2;
3) понял что надо среднее арифмитическое сделать из трех чисел, если что-то не так понял напиши.
a = float(input());
b = float(input());
c = float(input());
print((a + b + c) / 3);
4) не понял условие, перевод не понятный. Напиши если сможешь качественно перевести.
вариант Б тоже-самое что и 4 задание.