#include using namespace std; int main(void) { float L, P; int n; jeszczeRaz: cout << "Wprowadz lewa granice: L i prawa granice: P" << endl; cin >> L; cin >> P; cout << endl <<"Wprowadz ilosc zmiennych x" << endl; cin >> n; if(L < P && n > 10) continue; else goto jeszczeRaz; float *Tx = new float[n]; float *F = new float[n]; float k = (P - L) / (n - 1); float x = L; for(int i = 0;i < n; ++i) { Tx[i] = x; F[i] = 3.5 * x * x + 8.2 * x + 1.3; x += k; } delete[] Tx; delete[] F; cin >> ignore(); return 0; }