actual_in_flow = capacity - litros;
if (*((float *)data) < actual_in_flow)
actual_in_flow = *((float *)data);
actual_in_flow = capacity - litros;
if (*((float *)data) < actual_in_flow)
actual_in_flow = *((float *)data);
out << "\t<tank name=\"" << name << "\">" << std::endl;
out << "\t\t<capacity>" << capacity << "</capacity>" << std::endl;
out << "\t\t<litros>" << litros << "</litros>" << std::endl;
out << "\t<tank name=\"" << name << "\">" << std::endl;
out << "\t\t<capacity>" << capacity << "</capacity>" << std::endl;
out << "\t\t<litros>" << litros << "</litros>" << std::endl;