You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The year is 3024, and you've discovered a dusty old time machine. It has a broken display showing "1999" as a string, but the machine only accepts numbers to work.
Do the following:
1. Declare a string variable with the value "1999".
2. Convert the string value of "1999" into a number.
3. Display the number to the console to "fix" the time machine.
BONUS:
The time machine also needs to display "42.5" as a floating-point number. Convert it and display it too!
*/
// SOMALI
// Sanadka waa 3024, waxaa aragtay machine waqtiga lagu badalo (Time Machine), meeshii laga rabay inuu nambar soo saaro, wuxuu soo saarayaa "1999", lakin machine-ka wuxuu aqbalayaa kaliya nambar.