#include
#include
inline double y(double x)
{
return (x/(x+5));
}
int main(int argc, char *argv[])
{
system("chcp 1251 >nul");
setlocale(LC_ALL, "Russian");
for(double x = 0; x < 1; x+=0.1)
printf("%f ", y(x));
std::cout << std::endl;<br>
for(double x = 1; x < 10; x+=1)
printf("%f ", y(x));
std::cout << std::endl;<br>
for(double x = 10; x < 50; x+=5)
printf("%f ", y(x));
std::cout << std::endl;<br>
for(double x = 50; x < 100; x+=10)
printf("%f ", y(x));
std::cout << std::endl;<br>
return EXIT_SUCCESS;
}