Advertisement
Maromon_Lupus

Zad3cz2

Mar 23rd, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.63 KB | None | 0 0
  1. class Tzespol{
  2.     float Re,Im,Mod,Arg;
  3.     public:
  4.     Tzespol();
  5.     Tzespol(float Re,float Im);
  6.     void wyp(float a,float b);
  7.     void wyp();
  8.     void dod(Tzespol dru);
  9.     void ode(Tzespol dru);
  10.     void mno(Tzespol dru);
  11.     void dzi(Tzespol dru);
  12.     Tzespol operator+(Tzespol dru);
  13.     Tzespol operator-(Tzespol dru);
  14.     Tzespol operator*(Tzespol dru);
  15.     Tzespol operator/(Tzespol dru);
  16.     void modu();
  17.     void argu();
  18.     void wypmodu();
  19.     void wypargu();
  20.     Tzespol operator+=(Tzespol dru);
  21.     Tzespol operator-=(Tzespol dru);
  22.     Tzespol operator*=(Tzespol dru);
  23.     Tzespol operator/=(Tzespol dru);
  24.     Tzespol operator==(Tzespol dru);
  25.     Tzespol operator!=(Tzespol dru);
  26. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement