Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdlib>
- #include <iostream>
- #include <math.h>
- using namespace std;
- int main()
- {
- int nr;
- float w;
- cout<<"Podaj numer w dzienniku: ";
- cin>>nr;
- for(int i=(180+nr);i<=(200+nr);i++)
- {
- w=sqrt(i);
- cout.precision(4);
- cout<<"SQRT("<<i<<")="<<w<<endl;
- }
- system("PAUSE");
- return EXIT_SUCCESS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement