Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #ifndef __WYMIERNA_H
  2. #define __WYMIERNA_H
  3.  
  4. typedef struct wymierna_t {
  5. int licznik, mianownik;
  6. } wymierna_t;
  7.  
  8. /** \brief Suma liczb wymiernych */
  9. wymierna_t suma(wymierna_t a, wymierna_t b);
  10.  
  11. /** \brief Różnica liczb wymiernych */
  12. wymierna_t roznica(wymierna_t a, wymierna_t b);
  13.  
  14. /** \brief Iloczyn liczb wymiernych */
  15. wymierna_t iloczyn(wymierna_t a, wymierna_t b);
  16.  
  17. /** \brief Iloraz liczb wymiernych */
  18. wymierna_t iloraz(wymierna_t a, wymierna_t b);
  19.  
  20. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement