Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "axe.hpp"
- #include <iostream>
- using namespace std;
- Axe::Axe(float nmin, float nmax, float ninterval) {
- min = nmin;
- max = nmax;
- interval = ninterval;
- }
- void Axe::setmin(float nmin) { min = nmin; }
- void Axe::setmax(float nmax) { max = nmax; }
- void Axe::setinterval(float ninterval) { interval = ninterval; }
- float Axe::getmin() { return min; }
- float Axe::getmax() { return max; }
- float Axe::getinterval() { return interval; }
- void Axe::wypisz() {
- cout << "min: " << min << ", max: " << max << ", interval: " << interval;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement