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...
Type: Posts; User: cheami
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...
i tried
for (day = 1; day < numOfOrders; day++)
{
for(a = 0; a < numOfPizzaPrices; a++)
{
for(i = 0; i < numOfPizzaPrices; i++)
{
...
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...
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
Thanks for response, figured it out right when I posted it :/
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>...
Just saw the other post about it :).
I see what I had to change, thanks!
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 '='...