+ 3

What is the coolest thing you can get a computer to do in 10 lines of code?

try { //Todo answer this question } catch (Exception e){ e.printStack (); }

22nd May 2017, 12:04 PM
Aslam Hossin
Aslam Hossin - avatar
7 odpowiedzi
+ 23
Actually 4 lines, then (comments aside): https://code.sololearn.com/cevCloev897h/?ref=app
22nd May 2017, 3:17 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 7
Java only?
22nd May 2017, 12:50 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 4
No any language like c, c++ , python, scala whatever you like.
22nd May 2017, 3:07 PM
Aslam Hossin
Aslam Hossin - avatar
+ 4
I created an exponential calculator with only 9 lines of code https://code.sololearn.com/c3mDBu64z4qg/#py
22nd May 2017, 3:55 PM
Christopher Carillo
Christopher Carillo - avatar
+ 4
The coolest thing to get a computer to do is to: Love your code(your code must not hurt or stress your computer 💻
23rd May 2017, 8:20 PM
Ore
Ore - avatar
- 3
2 lines (not my coolest, just lulz): #! /bin/sh xmessage Urgent updates required && gksu "su -c \"PERFORM EVIL DEED HERE\"" It allows you to do anything as root. The user is used to gksu prompts and will probably fall for it. Forgot to mention: it's shell script for GNU/Linux.
26th May 2017, 6:27 PM
Jamie
Jamie - avatar
- 7
10 lines ?? it's just hello you, hello me, and hello us...
22nd May 2017, 12:48 PM
Mugfirfauzy Siregar
Mugfirfauzy Siregar - avatar