Files
code_olymp/C++/линейные/Функция.cpp

16 lines
249 B
C++

#include <iostream>
using namespace std;
int main() {
double y, z;
cout<<"y=(z+12*z)/(z*z)"<< endl;
cout<<"Ââåäèòå çíà÷åíèå z:";
cin>>z;
cout<<"y=";
y = (z+12*z)/(z*z);
cout<<y<< endl;
system ("pause");
return 0;
}