consolidate all repos to one for archive
This commit is contained in:
33
semester_2/programiranje_2/naloga0202/WaterIntake.h
Normal file
33
semester_2/programiranje_2/naloga0202/WaterIntake.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#ifndef NALOGA0102_WATERINTAKE_H
|
||||
#define NALOGA0102_WATERINTAKE_H
|
||||
|
||||
#include <string>
|
||||
|
||||
class WaterIntake {
|
||||
private:
|
||||
unsigned int day, month, year;
|
||||
float quantity;
|
||||
public:
|
||||
WaterIntake();
|
||||
|
||||
WaterIntake(unsigned int, unsigned int, unsigned int, float);
|
||||
|
||||
~WaterIntake();
|
||||
|
||||
unsigned int getDay();
|
||||
|
||||
unsigned int getMonth();
|
||||
|
||||
unsigned int getYear();
|
||||
|
||||
float getQuantity();
|
||||
|
||||
std::string toString();
|
||||
|
||||
void addQuantity(float);
|
||||
|
||||
bool isNormal();
|
||||
|
||||
};
|
||||
|
||||
#endif //NALOGA0102_WATERINTAKE_H
|
||||
Reference in New Issue
Block a user