This content originally appeared on DEV Community and was authored by Rishit Khandelwal
Try making a ultimate slow program to square a number, or share a program you have made previously.
The slower the better.
But each iteration should do something, dont loop for ever and then print the square like this:
function square(x) {
while(true) {}
console.log(x*x)
}
Ok, now comment your slow program in the comments ;)
Join orbits community now: https://discord.gg/9hB4VJcw97
This content originally appeared on DEV Community and was authored by Rishit Khandelwal
Rishit Khandelwal | Sciencx (2021-08-07T04:48:24+00:00) whats the worst program you can make for squaring a number.. Retrieved from https://www.scien.cx/2021/08/07/whats-the-worst-program-you-can-make-for-squaring-a-number/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.