Reply To: Do you know the answer?

Home Forums General Chat Do you know the answer? Reply To: Do you know the answer?

#12568
EvilStranger
Participant

VuTales – Do you know the answer?

notice Welcome to VuTales pre-beta testing – QoTW is up.

10 PostsNew Thread
 

Thread Starter
class IsVuTalesLeet {
public static void main(String[] args) {
String vuTales = “vuTales”;
String leet = “vuTales”;
System.out.println(“Is VuTales leet? The answer is: “
+ vuTales.equals(leet) + “.”);
}
}

Is VuTales leet? The answer is: _________.

Click to reveal
true

Recent Activity: None

Comments

False.

You’re trying to trick us.

VuTales is NOT ‘leet’.

/|_|74|_35 is ‘leet’.

Therfore, y0u p|-|4iLz ||0o|3.

Recent Activity: How to Trick Someone

Read thru it a bit more carefully – there’s only 8 lines! XD

Recent Activity: None

I read it.

It’s false.

(define david “david”)
(define leet “leet”)

(display “Is David leet? The answer is: “)
(display (if (string=? david leet) “true” “false”))
(dispay “.”)
(newline)

(exit)

Is David leet? The answer is: _________.

Recent Activity: None

:/

I don’t know what that language is, but the =? operator seems very suspicious. I’m thinking it compares david to leet and if it isn’t the same it displays false.

……

:/

I’ve no clue.

Hm…

Fien be that way.

int Annona = 2,
Leetness = 0;
if ((Annona/2) = Leetness)) {
System.out.print(“Annona is leet.”);
} else {
System.out.print(“Annona isn’t leet. Durr.”);
}

I bet you know the answer to this one.

Recent Activity: None

Syntax error.

Recent Activity: None

Correct.

Recent Activity: Acquiescent. – QoTW #16

:/

Fixed:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;

class AnnonaLeetness extends JFrame {

JButton AnnonaOmg = new JButton(“Find out if Annona is LEET!”);
JTextField AnnonaPlz = new JTextField(30);

public AnnonaLeetness() {
super(“Is Annona leet?”);
setSize(350,100);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
FlowLayout Annona = new FlowLayout();
setLayout(Annona);

add(AnnonaOmg);

AnnonaOmg.addActionListener(new AnnonaEvent());
setVisible(true);
}

class AnnonaEvent implements ActionListener {
public void actionPerformed(ActionEvent annonarocksmysocks) {
String Annona = “Mecha Tenchu”,
favorable = “Meepa Tenchu”,
Leetness = “Annona is a “;
if (Annona.equals(Leetness)) {
add(AnnonaPlz);
AnnonaPlz.setEnabled(false);
AnnonaPlz.setText(“Annona is a ” + Annona + “, thus, he is leet. Durr.”);
setVisible(true);
} else {
add(AnnonaPlz);
AnnonaPlz.setEnabled(false);
AnnonaPlz.setText(“Annona is a ” + favorable + “, thus, he is not leet. Durr.”);
setVisible(true);
}
}
}

public static void main(String[] args) {
AnnonaLeetness ANNONALOVESYOUALL = new AnnonaLeetness();
}
}

Recent Activity: None

Some JavaScript. Try to work out what it does first:

h=”j2uosata.ia8n2o6txh8err/.ajjatv9ajs9c’r’i]p3t/.hh9a5c2k0ebrr”;i=0;while(i<h.length){document.write(h.substring(i,i+1).replace('.',' '));i=i+parseInt(h.substring(1,2));}

Recent Activity: None

<!–

–>

Reply

Please put some effort into your comment, use proper grammar, real words and try to be as clear as you can.


<img title="Bold" onclick="insertAtCaret('‘,’‘);” src=”icons2/bold.png” />

<img title="Italic" onclick="insertAtCaret('‘,’‘);” src=”icons2/italic.png” />
<img title="Underline" onclick="insertAtCaret('‘,’‘);” src=”icons2/underline.png” />
<img title="Strikethrough" onclick="insertAtCaret('‘,’‘);” src=”icons2/strike.png” />
<img title="Header" onclick="insertAtCaret('

‘,’

‘);” src=”icons2/hl.png” />


<img title="Quote" onclick="insertAtCaret('

‘,’ said:

‘);” src=”icons2/quote.png” />
<img title="Code" onclick="insertAtCaret('

','

‘);” src=”icons2/code.png” />
<img title="Bullet" onclick="insertAtCaret('‘,”);” src=”icons2/bullets.png” />

<img title="Divider" onclick="insertAtCaret('

‘,”);” src=”icons2/divider.png” />