Forum: Java Feb 4th, 2009 |
| Replies: 13 Views: 580 Ok, that wasn;t the prob, the prob is that whenever I use option 2 it doubles the total. I have no idea why |
Forum: Java Feb 4th, 2009 |
| Replies: 13 Views: 580 I have a prob with original, whenever item quantity is more than 1, it mulitiplys the whole thing by that num |
Forum: Java Feb 4th, 2009 |
| Replies: 13 Views: 580 So I just change the names around using the ArrayList class? |
Forum: Java Feb 4th, 2009 |
| Replies: 13 Views: 580 YES!!! I put the new operator outside of the main method, and it worked!!! I'll get a 100 now! Thank you so much for identifying the prob
But one more problem, this one worth 60/300 points. I have... |
Forum: Java Feb 3rd, 2009 |
| Replies: 13 Views: 580 How do I fix that? Then where do I put the cart creator? |
Forum: Java Feb 3rd, 2009 |
| Replies: 13 Views: 580 Yes, that is exactly the problem, thankfully our teacher gave us one more day. Can you explain to me why it wont print the cart? I'm confused. |
Forum: Java Feb 2nd, 2009 |
| Replies: 13 Views: 580 I have to make a program that simulates a shopping cart, I have it done, it's just that the shopping cart wont print. Please help me in fixing this, this is due for me tomorrow and is worth 40% of... |
Forum: Java Jan 15th, 2009 |
| Replies: 1 Views: 806 I made a driver program to do it. Thanks anyway |
Forum: Java Jan 15th, 2009 |
| Replies: 1 Views: 806 Please help me, I need to turn this in tomorrow. I need to do it so I can make my stick figure move using arrow keys. I've made everything, but I don't know how to implement the keys. Can someone... |
Forum: Java Jan 11th, 2009 |
| Replies: 2 Views: 494 I made this applet for my APCOMPSCIA class, it due tomorrow but I cant get it working. I need to show the animation of a sort, but it just does sort once that it, please help. I will be very great... |
Forum: Java Jan 8th, 2009 |
| Replies: 12 Views: 819 But I dont need text. I just need to know how to use the sort in the applet |
Forum: Java Jan 8th, 2009 |
| Replies: 12 Views: 819 I made new code!!! This is an applet, but I dont know how to keep displaying the bars after each loop. PLease tell me how I can do that.
/**
* @(#)SelectionBars.java
*
* SelectionBars Applet... |
Forum: Java Jan 8th, 2009 |
| Replies: 12 Views: 819 No no, I wrote the sorts in an earlier program. But I cant get it to print after every loop. This is what I have so far(I decided to forgo the applet, and do this first, and its due within the next... |
Forum: Java Jan 7th, 2009 |
| Replies: 12 Views: 819 Well I have to show the sort go through the array. Like every time it goes through the array, in an applet |
Forum: Java Jan 4th, 2009 |
| Replies: 12 Views: 819 I didn't post the file sorry. It is attached below. Do I have to make changes to this program? or can I write a driver one? |
Forum: Java Jan 4th, 2009 |
| Replies: 12 Views: 819 I have attached the file with the sorts. I have to show 2 sorts insertion, and selection sorts demonstration in bars. I should show the position of the bars after each run. How do i go on about... |
Forum: Java Jan 3rd, 2009 |
| Replies: 5 Views: 323 PLease help, here are the files. They already gave the object one with insertion sort, but I can't do selection |
Forum: Java Jan 3rd, 2009 |
| Replies: 5 Views: 323 I'm trying to do selection sort for objects...But it wont work, please help. We were told to change the first one to do objects. Any help appreciated
public static void selectionSort (int[]... |
Forum: Java Dec 26th, 2008 |
| Replies: 4 Views: 408 Thank you so much! You saved me! |
Forum: Java Dec 26th, 2008 |
| Replies: 4 Views: 408 Hello everyone, I am AP COMPSCI A for my school and I trouble with this program. In the program you have to enter numbers from 1-100. And print a chart of how many numbers were between 1-10, 11-20... |
Forum: C++ May 15th, 2008 |
| Replies: 1 Views: 320 When I run the follwing code:
#include <iostream.h>
#include <string.h>
#include <vector.h>
#include <fstream.h>
using std::string;
using std::vector;
void exchange(vector <int>... |
Forum: C++ May 12th, 2008 |
| Replies: 2 Views: 343 |
Forum: C++ May 12th, 2008 |
| Replies: 2 Views: 343 #include <iostream.h>
#include <string.h>
#include <vector.h>
#include <fstream.h>
using std::string;
using std::vector;
void... |
Forum: C++ Jan 11th, 2008 |
| Replies: 2 Views: 1,137 I solved it my self and no one here helped(or even replied) so I'm NEVER coming here back EVER again. |
Forum: C++ Jan 10th, 2008 |
| Replies: 2 Views: 1,137 This works and shows the factors or tells if the number is a prime number but doesn't show ODD factors please help!! I need to turn this tomorrow
#include <iostream>
using namespace std;
int... |