consolidate all repos to one for archive
This commit is contained in:
9
semester_2/programiranje_2/naloga1002/Dimension.cpp
Normal file
9
semester_2/programiranje_2/naloga1002/Dimension.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "Dimension.h"
|
||||
|
||||
Dimension::Dimension(double width, double height, double depth) : width(width), height(height), depth(depth) {
|
||||
|
||||
}
|
||||
|
||||
std::string Dimension::toString() const {
|
||||
return std::to_string(width) + " " + std::to_string(height) + " " + std::to_string(depth);
|
||||
}
|
||||
Reference in New Issue
Block a user