final project for java - FirebirdV6.com/CamaroV6.com Message Board

Announcement

Collapse
No announcement yet.

final project for java

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • final project for java

    http://www.radford.edu/~asbrennem/cl...s/assign5.html

    this is the final project for this semester! I have no idea how to do arrays. so if someone wants to help me out with this, it'd be much appriciated. Its crunch time cuz its due at midnight :/

  • #2
    I don't know Java, but in C++ I would probably make each item an Item class object, which would have a name and price. I would then creat an array Item items[SIZE];
    The item that corresonds to the barcode 100 could be placed in the 0th element of the array, items[0], and so on.
    Then I would create a cart_item class, which would have a name, price, and quantity cart_item cart[SIZE];

    That's what I can think of off the top of my head. Hope that helps.
    ~Derrick <a href=\"http://www.appstate.edu/~do54457/\" target=\"_blank\"><i>My Webpage</i></a><br /><b>\'96 3.8L V6 M5 Firebird Y87</b> | <b>162.8 RWHP</b> / <b>196.7 RWTQ</b> <br /><b>•</b> SLP CAI <b>•</b> <a href=\"http://tech.firebirdv6.com/y87.html\" target=\"_blank\"><b>Y87</b> Package</a> - 3.23s <b>•</b> 180º thermo w/ fan switch <b>•</b> TB spacer from DEE<br />1991 Jeep Cherokee Laredo 4x4

    Comment


    • #3
      he's on the right track... need more help just post what you are stuck on , im pretty good at debugging ****

      but if you dont know how to work with arrays, you are screwed, time to start reading.. shoulda gone to class
      -Aaron, AKA ATL2001<br />93 3.4L <br /><a href=\"http://www.ilfba.com\" target=\"_blank\">www.ilfba.com</a>

      Comment


      • #4
        I go to class. its just she basically just gives us labs that we have to figure out and we can get her help sometimes. but after each chapter she gives a project like this that we have to do on our own.
        so I'm pretty much sol on this one

        thanks dojo, you got me thinking on the right track now.

        Comment

        Latest Topics

        Collapse

        FORUM SPONSORS

        Collapse
        Working...
        X