+ 10
Challenge for maths lovers
Here is a very simple task for you show Scientific notation of any number like 12.34 in Scientific notation its 1.2 10^1 1456.342 in Scientific notation its 1.456 10 ^3 Here is my try in Java https://code.sololearn.com/cS2i1Hn4Bd9B/?ref=app You can use any language 😊👍
7 Respuestas
+ 5
scientific notation of 12.34 would be 1.23*10^1.
So you all should correct your code .
+ 20
JavaScript:
var n = prompt("").split(".")[0];
alert("0." + n + " 10^" + n.length);
+ 7
https://code.sololearn.com/c3L641MN2y57/?ref=app
+ 6
JavaScript:
console.log(parseFloat(prompt('')).toExponential());
+ 5
thanks therk fixed