JSFiddle - React, Tailwind, and code Playground

by christianmenz

JavaScript

// Löse die folgende Gleichung:
// 128+2x=178
//

var x = 0;

for (x = -100; x < 100; x++) {
    if (128 + 2 * x == 178) {
        alert("Hier ist das Ergebnis: " + x);
    }
}