Ejjman
2007-08-01 01:39:19
1000 LINES
You will be making $91230 a year in your future!
EDIT: NEW VERSION!
-Added middle name
-Added encryption
-Added numbers (NOT RECOMMENDED)
-Fixed a few bugs
2007-08-01 01:39:19
You will be making $91230 a year in your future!
2007-08-01 01:54:14
You will be making $135028 a year in your future!
program YearlyIncomeCalculator;
var
FirstName, LastName : string;
function GetFirstNamePoints : integer;
var
Points, i : integer;
begin
for i := 1 to Length(FirstName) do
begin
case Lowercase(FirstName[i]) of
'e' : Points := Points + 1;
'a' : Points := Points + 1;
'i' : Points := Points + 1;
'o' : Points := Points + 1;
'n' : Points := Points + 1;
'r' : Points := Points + 1;
't' : Points := Points + 1;
'l' : Points := Points + 1;
's' : Points := Points + 1;
'u' : Points := Points + 1;
'd' : Points := Points + 2;
'g' : Points := Points + 2;
'b' : Points := Points + 3;
'c' : Points := Points + 3;
'm' : Points := Points + 3;
'p' : Points := Points + 3;
'f' : Points := Points + 4;
'h' : Points := Points + 4;
'v' : Points := Points + 4;
'w' : Points := Points + 4;
'y' : Points := Points + 4;
'k' : Points := Points + 5;
'j' : Points := Points + 8;
'x' : Points := Points + 8;
'q' : Points := Points + 10;
'z' : Points := Points + 10;
end;
end;
Result := Points;
end;
function GetLastNamePoints : integer;
var
Points, i : integer;
begin
for i := 1 to Length(LastName) do
begin
case Lowercase(LastName[i]) of
'e' : Points := Points + 1;
'a' : Points := Points + 1;
'i' : Points := Points + 1;
'o' : Points := Points + 1;
'n' : Points := Points + 1;
'r' : Points := Points + 1;
't' : Points := Points + 1;
'l' : Points := Points + 1;
's' : Points := Points + 1;
'u' : Points := Points + 1;
'd' : Points := Points + 2;
'g' : Points := Points + 2;
'b' : Points := Points + 3;
'c' : Points := Points + 3;
'm' : Points := Points + 3;
'p' : Points := Points + 3;
'f' : Points := Points + 4;
'h' : Points := Points + 4;
'v' : Points := Points + 4;
'w' : Points := Points + 4;
'y' : Points := Points + 4;
'k' : Points := Points + 5;
'j' : Points := Points + 8;
'x' : Points := Points + 8;
'q' : Points := Points + 10;
'z' : Points := Points + 10;
end;
end;
Result := Points;
end;
function CalculateYearlySalary : extended;
begin
Result := Ceil(((GetFirstNamePoints * 3.14) + (GetLastNamePoints * 5.888)) * 1000);
end;
begin
FirstName := ReadLn('First Name?');
LastName := ReadLn('Last Name?');
ClearDebug;
if (FirstName = 'Skyler') and (LastName = 'Campbell') then
writeln('You will be making $10,000,000 a year in your future!') else
writeln('You will be making $'+FloatToStr(CalculateYearlySalary)+' a year in your future!');
end.You will be making $10,000,000 a year in your future!
Successfully executed
2007-08-01 01:55:40
2007-08-01 03:05:10
You will be making $119328 a year in your future!
2007-08-01 03:22:19
You will be making $65944 a year in your future!
2007-08-01 07:44:11
You will be making $23021400 a year in your future!
2007-08-01 09:23:30
2007-08-01 09:53:59
You will be making $75756 a year in your future!
2007-08-01 10:26:23
2007-08-01 10:46:28
You will be making $140524 a year in your future!Nice little script :D
2007-08-01 10:51:07
You will be making $89104 a year in your future!2007-08-01 11:07:58
2007-08-01 11:31:43
From: n3ss3s
You should obfuscate that to make it uncheatable.
Since q and z give the highest points (10), I just pressed z for like 15 seconds for both names :) if someone would make a z presser , salory ++++++ :D
2007-08-01 11:49:23
The max-length for a Readln box is 255.
2007-08-01 15:12:29
2007-08-01 16:25:17
2007-08-01 23:08:22
From: n3ss3s
Btw, does ImpSoft obber work? I dont know, just heard of it quickly somewhere… Scripts propably look uhber when obbed :D
EDIT: Ejj, in your avatar the red d hide guy doesnt have a bow
EDIT EDIT: Third post from me in a row me saying uhber leet :D
EDIT EDIT EDIT Cant believe the noobs thing in your sig, that many people not searching even I've made whole tutorial about using search button.
2007-08-02 03:04:53
From: n3ss3s
Btw, does ImpSoft obber work? I dont know, just heard of it quickly somewhere… Scripts propably look uhber when obbed :D
EDIT: Ejj, in your avatar the red d hide guy doesnt have a bow
EDIT EDIT: Third post from me in a row me saying uhber leet :D
EDIT EDIT EDIT Cant believe the noobs thing in your sig, that many people not searching even I've made whole tutorial about using search button.
2007-08-02 05:54:38
2007-08-03 19:22:35
2007-08-03 21:04:12
2007-08-04 14:43:17
You will be making $100092 a year in your future!Yessss 6 digits baby!
2007-08-04 19:08:21
You will be making $108336 a year in your future!
2007-08-05 21:21:34
You will be making $158580 a year in your future!Codes are nicer :P2007-08-08 17:28:33
2007-08-10 14:53:52
You will be making $90280 a year in your future!Not bad…that's a fair amount of money and I think I could live on that ;)
You will be making $-708822592 a year in your future!Awesome! I'll be $708.8 million in debt!!! Maybe I'll just make a call to Mr. Gates to see if he can spot me just this once….
2007-08-10 15:00:36
2007-08-10 15:09:23
2007-08-12 16:24:05
2007-08-12 16:27:12
You will be making a lot a year in your future!
2007-08-13 01:36:45
2007-08-13 04:06:56
2007-08-13 14:12:17
2007-08-13 18:33:43
2007-08-14 01:24:22
2007-08-21 18:34:59
2007-08-22 03:28:19
2007-08-22 03:36:56
2007-08-23 02:32:48
2007-09-02 08:27:17
2007-09-02 19:21:31
2007-09-03 09:37:08
2007-09-08 19:02:36
2007-09-23 23:20:01
You will be making $142280 a year in your future!
2007-09-24 16:50:19
You will be making $0 a year in your future!
'z' : Points := Points + 10000000000000000000000000000000000000000000000000000000000000;
end;
end;
Result := Points;
end;
function CalculateYearlySalary : extended;
begin
Result := Ceil(((GetFirstNamePoints * 3.14) + (GetLastNamePoints * 5.888)) * 100000000000000000000000000000000000000000000000000000000);
end;2007-09-25 08:04:36
2007-10-25 06:44:56
You will be making $-1999908000 a year in your future!I am going to be losing money! Woo!
2007-10-25 17:42:53
begin
WriteLn('You will be making $1,000,000,000 a year in your future!');
end.:p
2007-10-26 05:25:57
begin
writeln('Freddy shall be making $1,000,000,000 a year in your future!');
end.2007-11-04 04:59:31
You will be making $-1999917420 a year in your future!
2007-11-04 12:16:58
You will be making $141760 a year in your future! You will be making $-22 a year in youe future2007-11-13 15:07:55
2007-11-21 13:26:45
2007-11-24 17:05:26
2007-11-25 18:12:40
2008-01-31 22:51:50
You will be making $1794678248 a year in your future!
2008-01-31 23:19:06
You will be making $90400 a year in your future!
You will be making $1371520 a year in your future!
2008-02-01 01:35:28