// zadanie_4.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include #include using namespace std; int main() { float xn,xk,dx,x,y,max=0,min=1; cout<<"xn, xk, dx"<>xn>>xk>>dx; int i=0; for(x=xn;x<=xk;x+=dx) { y=exp(cos(pow(x,3))); //cout<x) { if(y>max) { max=y; } } else { if(y<=min) { min=y; } } } cout<x"; else cout<