List of ranks

Yeah, that's a problem. ;~;

As for hurting you eyes for a while, yes that can happen to a lot of people. ><
 
Least I'm better about it now. I give myself plenty of space to work and I don't get frustrated so easy.
 
There are typos anyway.
Code:
if($output > $input) {
	$difference = $output - $input;
	$sign = "+";
} elseif ($output < $input) {
	$difference = $input - $output;
	$sign = "-";
} else {
	$difference = 0;
	$sign = "+";
}
OMFG why write such a complicated code when it can be done in one line?!?
 
Because he isn't a PHP god like you are Monsieur Hunchman.

To our standards, he's... how do I carefully word this... he's basically stupid. Though you, Monsieur, are a super genius.
 
My first website was made back in about 2003/04, I think. Done using basic HTML in Notepad.

Called it "*name removed*'s Cheats Site", and it had a list of videogame cheats in it. My favourite sites at the time were Cheat Code Central, and CheatPlanet, and I wanted to make my own. I was like, 10 at the time though, so I didn't know how to host it or anything, and after many failed attempts I gave up.

Prolly still got it...somewhere. If I can find it, I'll throw it up on GeoCities or something, for old time's sake.
 
Hunchman801 said:
There are typos anyway.
Code:
if($output > $input) {
	$difference = $output - $input;
	$sign = "+";
} elseif ($output < $input) {
	$difference = $input - $output;
	$sign = "-";
} else {
	$difference = 0;
	$sign = "+";
}
OMFG why write such a complicated code when it can be done in one line?!?
listen.
when i went to bed my dad added that code.
jman i didn't need help with the homework i got it off.
 
Let's have a BASIC version of that program:

CLS
1 PRINT "DO YOU WANT TO ADD OR SUBTRACT? (A/S)"
10 A$ = INKEY$
IF A$ = "a" THEN GOTO 20
IF A$ = "s" THEN GOTO 30
GOTO 10
20 INPUT "FIRST NUMBER" A
INPUT "SECOND NUMBER" B
PRINT A "+" B "=" (A+B)
GOTO 40
30 INPUT "FIRST NUMBER" C
INPUT "SECOND NUMBER" D
PRINT C "-" D "=" (C-D)
GOTO 40
40 PRINT "DO YOU WANT TO SOLVE ANOTHER PROBLEM? (Y/N)"
50 B$ = INKEY$
IF B$ = "y" THEN GOTO 1
IF B$ = "n" THEN STOP
GOTO 50
 
Back
Top