#include <stdio.h>

int main() {

    float T, V;
    printf("Introduce los valores de temperatura y vibración: \n");
    scanf("%f %f",&T,&V);

    if (T<=70 && V<=5) 
    {
        printf("FUNCIONAMIENTO NORMAL");
    }
    else if(70<T<=90 || 5<V<=8)
    {
        printf("ADVERTENCIA");
    }
    else if(T>90 || V>8)
    {
        printf("PARADA DE EMERGENCIA");
    }
    else
    {
        printf("Entrada no válida");
    }
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: