Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- using namespace std;///1.21525
- double liczba(double x)
- {
- return (sqrt(7)+pow(x,4))/(abs(pow(x,2))+(x+1)/x);
- }
- int main()
- {
- double x=-1;
- for(int i=0; x<0; i++)
- {
- cout << "Wprowadz x wieksze od 0:" << endl;
- cin>>x;
- }
- cout<<liczba(x)<<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment