Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Urgent Java Help Needed Asap

  • 17-02-2003 7:49pm
    #1
    Closed Accounts Posts: 54 ✭✭


    i want a loop to count the number of times a particular value apears in the array


Comments

  • Registered Users, Registered Users 2 Posts: 15,258 ✭✭✭✭Rabies


    here is it in a nutshell....
    by any chance are you in TI




    print "Enter number"
    num = number entered

    for( i= startOfArray ... i<endOfArray .. i++)

    if( array == num)
    count++


    end for

    print "Number "+ num " entered " +count + "times "










    E Kenny


  • Registered Users, Registered Users 2 Posts: 2,077 ✭✭✭parasite


    you shouldn't tell him something so remedial, what hope is there for the lad ? :)


  • Registered Users, Registered Users 2 Posts: 19,396 ✭✭✭✭Karoma


    ...no such thing as a stupid question...


  • Closed Accounts Posts: 54 ✭✭B0 SELECTRA


    yes i am in TI thanx rabies


  • Registered Users, Registered Users 2 Posts: 19,396 ✭✭✭✭Karoma


    clonmel or thurles?









    ...not a good reflection on TI standards :)


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 21,264 ✭✭✭✭Hobbes


    Originally posted by Rabies
    here is it in a nutshell....
    by any chance are you in TI


    That was Java?!


  • Closed Accounts Posts: 54 ✭✭B0 SELECTRA


    conmel


  • Registered Users, Registered Users 2 Posts: 2,281 ✭✭✭DeadBankClerk


    Originally posted by Karoma
    ...not a good reflection on TI standards :)
    Originally posted by B0 SELECTRA
    conmel


    oh dear :/


  • Registered Users, Registered Users 2 Posts: 15,443 ✭✭✭✭bonkey


    Originally posted by Karoma
    ...no such thing as a stupid question...

    Yup...there's only stupid people and stupid answers.

    jc


  • Registered Users, Registered Users 2 Posts: 15,258 ✭✭✭✭Rabies


    Originally posted by Hobbes
    That was Java?!
    no.
    a bit of java, VB and my own crappy pseudocode all thrown in to one.
    come on. you didnt expect me to write it all out for him in every programming language.
    its just really bad pseudocode.

    any way, whats the prob, he got the general idea.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 21,264 ✭✭✭✭Hobbes


    Originally posted by Rabies

    any way, whats the prob, he got the general idea.

    No problem, just not use to people doing that. :)


  • Closed Accounts Posts: 54 ✭✭B0 SELECTRA


    why is this thread called programming when people offer crap help
    and in the end you end up doing it yourself


  • Registered Users, Registered Users 2 Posts: 6,265 ✭✭✭MiCr0


    last time i checked this wasn't the programming homework board


  • Registered Users, Registered Users 2 Posts: 1,783 ✭✭✭Puck


    Originally posted by B0 SELECTRA
    why is this thread called programming when people offer crap help
    and in the end you end up doing it yourself


    What!? You had to actually do your own work! Jesus whats's the world coming to!?:eek:
    :rolleyes:

    You were given the pseudocode and even at that I thought it was being a bit too helpful. How about doing your own bloody work in future instead of coming on here and giving TI a bad name.


  • Closed Accounts Posts: 19,777 ✭✭✭✭The Corinthian


    Originally posted by B0 SELECTRA
    why is this thread called programming when people offer crap help
    and in the end you end up doing it yourself
    FFS, it's not September anymore. You'd think you'd have a clue by now. Someone gave you some pseudocode to help you work it out for yourself. And guess what, you may have learned something from it too.

    And here’s another lesson for you: No one is here to do your fscking homework for you, you fscking little parasite.


  • Closed Accounts Posts: 54 ✭✭B0 SELECTRA


    puck i dont know you be iam getiing to dislike you very fast


  • Closed Accounts Posts: 19,777 ✭✭✭✭The Corinthian


    Diddums.


  • Closed Accounts Posts: 1,651 ✭✭✭Enygma


    What's with the stoopid questions here lately? Seriously, are people too lazy to *think* these days.

    Disgraceful!


  • Registered Users, Registered Users 2 Posts: 7,468 ✭✭✭Evil Phil


    Originally posted by B0 STUPIDPERSON
    puck i dont know you be iam getiing to dislike you very fast

    I'd imagine its mutual.

    This is the Programming board, for programmers. People who actually program, write code, have a clue etc. If you're not prepared to do that you don't belong here.

    Seems to me that maybe, MAYBE, you've quailified by accident.

    Welcome to boards.ie, thicken your skin.


  • Closed Accounts Posts: 358 ✭✭CH


    What's with the stoopid questions here lately? Seriously, are people too lazy to *think* these days.

    spoon.jpg


  • Advertisement
  • Closed Accounts Posts: 9,314 ✭✭✭Talliesin


    Originally posted by B0 SELECTRA
    puck i dont know you be iam getiing to dislike you very fast

    Not as fast as I got to dislike you.

    B0 SELECTRA banned from programming for:
    1. Not even bothering to pretend this isn't his homework.
    2. Not being able to spell Clonmel.
    3. Whining when criticised for these obvious flaws.
    4. Obviously not bothering to crack a book.


  • Registered Users, Registered Users 2 Posts: 16,414 ✭✭✭✭Trojan


    Where are all these muppets coming from?

    The incorrect spelling and senior infants level of posts to this board are really starting to piss me off too.

    How about another new rule?

    Auto-deletion of posts that I have to read more than once to understand due to poor language, grammar and/or lack of punctuation (that includes "no caps", "ALL CAPS" and "MiCsellan3ou5")

    Yes, I know it's spelled incorrectly.

    Al.


This discussion has been closed.
Advertisement