Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream.h>
- #include <stdlib.h>
- int main()
- {
- int x;
- float fx;
- for(x=-10;x<11;x++)
- {
- if(x==3)
- {
- cout<<"Diairesi me to mhden"<<endl;
- }
- else
- {
- fx=1.0/(x-3);
- cout<<"H timh ths fx einai:"<<fx<<endl;
- }
- }
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement