Page 691 of 1703

Posted: Sat Mar 18, 2006 6:37 pm
by Aramant
[QUOTE=Ravager]Well, thank you. :rolleyes: :p [/QUOTE]
You're welcome! :D

Posted: Sat Mar 18, 2006 6:38 pm
by Aramant
[QUOTE=Magrus]Umm, wait a minute, 5'5", brunette, shoulder length hair, biter?[/QUOTE]
Aside from the hair length and being a couple inches short, that's me.

The girl in question was pushing six feet, probably outweighed me by at least thirty pounds, and had curly hair past her shoulders. She did bite, though.

Posted: Sat Mar 18, 2006 6:40 pm
by dj_venom
[QUOTE=Ravager]@DJV, when the user needs to input a value, make sure you have that next to READ (that might then be assigned to an int, though it wouldn't be put in the code), and strings or anyting that is outputted to the user needs to get written down too, just don't mention that it's a drawString etc.[/QUOTE]

That went over my head, and then some.

Posted: Sat Mar 18, 2006 6:40 pm
by Magrus
Wrong girl then. Meh, there was a girl from Buffalo that didn't take "no" for an answer and convinced me to change my mind. Persistant little freak. That's close enough to you I had to wonder... :o

Posted: Sat Mar 18, 2006 6:43 pm
by Aramant
Nah, this girl had a crush on my older brother, and thus vicariously had a crush on me. So did another girl that night. It was problematic to say the least. Alcohol just complicated matters.

I did make the one girl cry, though!

Posted: Sat Mar 18, 2006 6:43 pm
by Ravager
[QUOTE=dj_venom]That went over my head, and then some.[/QUOTE]

Oops. Okay. :p
In your program, the user enters a value into a text field, the code then sticks that value into an int. It then adds 5 to it, turns it into a string then outputs it.
What would you put in the Pseudocode for that?

Posted: Sat Mar 18, 2006 6:47 pm
by Magrus
[QUOTE=Aramant]Nah, this girl had a crush on my older brother, and thus vicariously had a crush on me. So did another girl that night. It was problematic to say the least. Alcohol just complicated matters.

I did make the one girl cry, though![/QUOTE]

Hmm, that's not as bad as having a complication with siblings. I remember once, my younger brother and I met these two girls. Well, I went for the brunette, and he the blonde. The blonde was older, and was into me, the younger brunette was into my brother. My wonderful brother said "Why don't we just try out the both of you and see who fits who better?" Oh man...I should have told him to duck, but, I was laughing too hard. We both got hit. :( Meh, the night was young, we still had time to find more fun in skirts.

Posted: Sat Mar 18, 2006 6:50 pm
by Aramant
That's hilarious. I took my sister out for her 19th birthday recently. She managed to get a free shot of tequila for herself, my roommate, and me, from some random girl. And then we got kicked out of the bar at about midnight because she was so trashed.

For her first night out at a bar, it was quite the success. My roommate and I dropped her on the couch at home and went back out.

... I get the feeling I've told this story on here already.

Anycats, I'm going to go make some weird sort of bangers and mash stew.

Posted: Sat Mar 18, 2006 6:51 pm
by slade
[QUOTE=Aramant]To be fair, you've probably lost Classy Points by quoting me.[/QUOTE]
Thats fine by me, Im not here to please anymember........well maybe athena but thats a different story.....if people dont like my quotes thats fine :rolleyes: .....a quotes a quote, doesnt tell very much about me ;) ......

@MAg, meat and potatoes? yeah thats great but free sushi is free sushi.....better then seeing or knowing my boss watches porn.....shes funny like that :eek: .....plus a bag of cookies did my day :o

Posted: Sat Mar 18, 2006 6:52 pm
by dj_venom
In your program, the user enters a value into a text field, the code then sticks that value into an int. It then adds 5 to it, turns it into a string then outputs it.
What would you put in the Pseudocode for that?

value = input
value += 5
value

Not sure why I'd turn it into a string, so I skipped that bit.

Wait, that's the java.

value will equal input
Add 5 to value
Show value

How's that?

Posted: Sat Mar 18, 2006 6:53 pm
by Hill-Shatar
Ravager 2,706
Oscuro_Sol 1,361
Fiona 1,172
slade 1,153
Juniper 1,101
ch85us2001 974
Magrus 849
TonyMontana1638 798
dj_venom 650
Lestat 638


Remember when it was Juni, Ravager, Chus and I at the top of the list? Well, Ravager hasn't changed, but right now I don't even post in this thread as much as I did the last...

Posted: Sat Mar 18, 2006 6:58 pm
by Magrus
[QUOTE=Aramant]That's hilarious. I took my sister out for her 19th birthday recently. She managed to get a free shot of tequila for herself, my roommate, and me, from some random girl. And then we got kicked out of the bar at about midnight because she was so trashed.

For her first night out at a bar, it was quite the success. My roommate and I dropped her on the couch at home and went back out.

... I get the feeling I've told this story on here already.

Anycats, I'm going to go make some weird sort of bangers and mash stew.[/QUOTE]

*nods* You mentioned it. I still like it though. :laugh: I won't be able to really take my little sister out to a bar. Not before I'm 35 or so anyways. :(

Posted: Sat Mar 18, 2006 6:59 pm
by Fiona
[QUOTE=Hill-Shatar]Ravager 2,706
Oscuro_Sol 1,361
Fiona 1,172
slade 1,153
Juniper 1,101
ch85us2001 974
Magrus 849
TonyMontana1638 798
dj_venom 650
Lestat 638


Remember when it was Juni, Ravager, Chus and I at the top of the list? Well, Ravager hasn't changed, but right now I don't even post in this thread as much as I did the last...[/QUOTE]

And....? :confused:

Posted: Sat Mar 18, 2006 7:01 pm
by Ravager
[QUOTE=dj_venom]value will equal input
Add 5 to value
Show value

How's that?[/QUOTE]

Basically, that's it, yeah. In Pseudocode form though, it'd be closer to this:

SimpleProgram
[INDENT]READ Value
AddedValue <-- Value + 5
DISPLAY AddedValue[/INDENT]
END SimpleProgram

So, do you understand that?

Posted: Sat Mar 18, 2006 7:04 pm
by dj_venom
Yeah... so I'm off to delete all the unnecessary rubbish. :rolleyes:

Actually, could you please give me an example

Code: Select all

public String processData(int buy, int sell, int feed, int plant)
{
    int feedenough;
    int ranFive = ((int)(Math.random()*5)+1);
    double starved = ((numyear-1)*percentstarved+numstarved*100/population);
    if (numyear>11) startover();
    if ((buy<1)||(sell<1)||(feed<1)||(plant<1))
    {
        cannotdo();
    }
How would that go into Pseudocode?

Posted: Sat Mar 18, 2006 7:06 pm
by slade
[QUOTE=Hill-Shatar]Ravager 2,706
Oscuro_Sol 1,361
Fiona 1,172
slade 1,153
Juniper 1,101
ch85us2001 974
Magrus 849
TonyMontana1638 798
dj_venom 650
Lestat 638


Remember when it was Juni, Ravager, Chus and I at the top of the list? Well, Ravager hasn't changed, but right now I don't even post in this thread as much as I did the last...[/QUOTE]
how did you find these numbers? :confused:

Posted: Sat Mar 18, 2006 7:08 pm
by Magrus
[QUOTE=slade]how did you find these numbers? :confused: [/QUOTE]

On the main forum page, click on the number of total posts for the thread. A little pop-up window should come up.

Posted: Sat Mar 18, 2006 7:08 pm
by Fiona
@ Slade. Click on the number in the replies column

Posted: Sat Mar 18, 2006 7:13 pm
by slade
thanks :)

Posted: Sat Mar 18, 2006 7:19 pm
by Ravager
[QUOTE=dj_venom]

Code: Select all

public String processData(int buy, int sell, int feed, int plant)
{
    int feedenough;
    int ranFive = ((int)(Math.random()*5)+1);
    double starved = ((numyear-1)*percentstarved+numstarved*100/population);
    if (numyear>11) startover();
    if ((buy<1)||(sell<1)||(feed<1)||(plant<1))
    {
        cannotdo();
    }
How would that go into Pseudocode?[/QUOTE]
ProcessData
[INDENT]READ feedenough, numyear, percentstarved, numstarved, population
ranfive <-- (Random *5)+1 - I'm not sure how random numbers would be specified in Pseudocode
starved <-- (numyear-1)*percentstarved+numstarved*100/population
[INDENT]IF numyear>11
THEN StartOver
[INDENT]IF (buy<1)| (sell<1)| (feed<1)| (plant<1)
THEN CannotDo
ENDIF[/INDENT]
ENDIF[/INDENT][/INDENT]
END ProcessData

Something like that, I hope. *phew* :p