clean: remove debug print

This commit is contained in:
starnakin 2023-10-11 18:13:18 +00:00
parent 6b0f99d5ad
commit 62c7107233

View File

@ -42,7 +42,6 @@ static int get_quantity(std::string& str)
quantity = quantity * 10 + str[i] - '0';
len++;
}
std::cout << str << std::endl;
str.erase(i - len, len);
return quantity;
}
@ -50,7 +49,6 @@ static int get_quantity(std::string& str)
int get_article_data(std::string& str, unsigned int& quantity, float& price)
{
price = get_price(str);
std::cout << str << std::endl;
quantity = get_quantity(str);
return 0;