+ 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 (); }
7 Respostas
+ 23
Actually 4 lines, then (comments aside):
https://code.sololearn.com/cevCloev897h/?ref=app
+ 7
Java only?
+ 4
No any language like c, c++ , python, scala whatever you like.
+ 4
I created an exponential calculator with only 9 lines of code
https://code.sololearn.com/c3mDBu64z4qg/#py
+ 4
The coolest thing to get a computer to do is to:
Love your code(your code must not hurt or stress your computer 💻
- 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.
- 7
10 lines ?? it's just hello you, hello me, and hello us...