6 Solved Topics

Remove Filter
Member Avatar for infern0

Hi, I am having trouble getting the item and its calories to match. Could anyone tell me what is wrong with this bubble sort? Thanks [CODE]int main() { string food[100]; string search; int calories[100]; int x = -1; bool look = false; do { x++; cout << "Enter a menu …

Member Avatar for infern0
0
110
Member Avatar for infern0
Member Avatar for infern0

Here is the piece of code I am having problems with. It is supposed to let me look up any items I put in the program previously. If the user did not enter a product earlier it should say "product not found". My problem is that it remembers the first …

Member Avatar for Murtan
0
112
Member Avatar for infern0

Hi. I'm having trouble making a simple calculator. The code I have so far compiles, but it does not run. Right now I only have addition in because I wanted to make sure I was going in the right direction before I added anything else. I have to use a …

Member Avatar for Phil++
0
89
Member Avatar for infern0

I'm have serious trouble with this program. The average and the range do not work. The program runs...I just don't know how to fix this. Please help. I have to find the average and the range of an unlimited number of integers between 0 and 100. [CODE] #include <iostream> using …

Member Avatar for infern0
0
101
Member Avatar for infern0

The End.