Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef __WYMIERNA_H
- #define __WYMIERNA_H
- typedef struct wymierna_t {
- int licznik, mianownik;
- } wymierna_t;
- /** \brief Suma liczb wymiernych */
- wymierna_t suma(wymierna_t a, wymierna_t b);
- /** \brief Różnica liczb wymiernych */
- wymierna_t roznica(wymierna_t a, wymierna_t b);
- /** \brief Iloczyn liczb wymiernych */
- wymierna_t iloczyn(wymierna_t a, wymierna_t b);
- /** \brief Iloraz liczb wymiernych */
- wymierna_t iloraz(wymierna_t a, wymierna_t b);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement