consolidate all repos to one for archive
This commit is contained in:
20
semester_2/programiranje_2/naloga0702/Racunalnik.h
Normal file
20
semester_2/programiranje_2/naloga0702/Racunalnik.h
Normal file
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// Created by Nik on 22/04/2022.
|
||||
//
|
||||
|
||||
#ifndef NALOGA0701_RACUNALNIK_H
|
||||
#define NALOGA0701_RACUNALNIK_H
|
||||
#include <string>
|
||||
|
||||
class Racunalnik {
|
||||
private:
|
||||
int poraba = 600;
|
||||
int volumen = 7;
|
||||
public:
|
||||
Racunalnik() = default;
|
||||
Racunalnik(int poraba, int volumen);
|
||||
std::string toString() const;
|
||||
};
|
||||
|
||||
|
||||
#endif //NALOGA0701_RACUNALNIK_H
|
||||
Reference in New Issue
Block a user