Wurzel wird nicht ausgegeben
-
sorry euch mit sonem kleinkram nerven zu müssen aber ich verstehe nicht wieso das programm mir nicht die wurzel ausgibt:
#include <iostream> #include <cmath> using namespace std; int main() { float wert; cin >> wert; sqrt(wert); cout << wert << endl; system("pause"); return 0; }
-
wert = sqrt(wert);
-
vielen dank