Search:

Type: Posts; User: cheami

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,493

    its kinda hard to explain without giving you the...

    its kinda hard to explain without giving you the whole problem, but thats a bit to read i dont want you to do.

    Each of these lines will contain n non-negative integers, representing how many of...
  2. Replies
    7
    Views
    1,493

    i tried for (day = 1; day < numOfOrders;...

    i tried

    for (day = 1; day < numOfOrders; day++)
    {
    for(a = 0; a < numOfPizzaPrices; a++)
    {
    for(i = 0; i < numOfPizzaPrices; i++)
    {
    ...
  3. Replies
    7
    Views
    1,493

    thanks, worked fine. but now my calculation is...

    thanks, worked fine. but now my calculation is wrong on

    sum = sum + (pizzaOrder[i][a] * pizzaPrices[i]);

    i changed my printf line and removed the &'s.

    for the calculation, it should read the...
  4. Replies
    7
    Views
    1,493

    Stuck in an inifinite loop?

    I think I'm stuck within the first loop or I have no idea what the problem is.

    TEXT FILE

    5
    3.00
    3.50
    4.50
    5.00
    6.00
  5. Replies
    3
    Views
    882

    Thanks for response, figured it out right when I...

    Thanks for response, figured it out right when I posted it :/
  6. Replies
    3
    Views
    882

    help with an inifite loop

    Program goes into an infinite loop, no idea why.
    Right after I enter the first value for what role, it crashes.

    Well I'm guessing it's a loop, but ultimately I have no idea.

    #include <stdio.h>...
  7. Replies
    2
    Views
    829

    Just saw the other post about it :). I see what...

    Just saw the other post about it :).
    I see what I had to change, thanks!
  8. Replies
    2
    Views
    829

    Why am I getting this error...?

    So I have to write a program for class, but I wont get into details about it. I've started it and have ran into an error that I can't seem to figure out.

    I get the error
    syntax error before '='...
Results 1 to 8 of 8