class from descriptionWed, 17 May 2023

Realice un programa que controle una cabina de acondicionamiento de plantas, las cuales requieren un proceso de acondicionamiento de temperatura, de baja temperatura, normalmente a 18°C a temperatura ambiente 25°C, este proceso debe llevar a cabo en un tiempo estimado de 4 horas, la rampa de acondicionamiento de ambiente debe tomar temperatura y humedad ambiente (lugar final) y la temperatura y humedad inicial (laboratorio) se debe introducir por medio un teclado o interfaz de pantalla (celular). En el proceso el sistema debe lograr igual la temperatura y humedad final del sistema.

#include <iostream> #include <math.h> #include <iomanip> #include <string> using namespace std; // Función de ejemplo int suma(int a, int b) { return a + b; } float temperatura(float t, float h, float t2, float h2) { float dt = 0; float dh = 0; float dt2 = 0; float dh2 = 0; float T = 0; float H = 0; float T2 = 0; float H2 = 0; float t_final = 0; float h_final = 0; float tiempo = 0; int time = 0; int time2 = 0; int time3 = 0; int time4 = 0; do { cout << "Introduzca temperatura inicial: "; cin >> T; if (T < 0)

Questions about programming?Chat with your personal AI assistant