Files
OOP_projekt_franc/Ingredient.cpp
T
2026-05-04 14:52:32 +02:00

25 lines
329 B
C++

//
// Created by Franc on 04.05.2026.
//
#include "Ingredient.h"
Ingredient::Ingredient() {
}
Ingredient::Ingredient(string name, double cost) {
this->name = name;
this->cost = cost;
}
Ingredient::~Ingredient() {
}
string Ingredient::getName() {
return name;
}
double Ingredient::getCost() {
return cost;
}