Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
25% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
2
2 Commented Posts
~885 People Reached
Favorite Forums
Favorite Tags
c++ x 28
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
107
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
107
Member Avatar for infern0

I have to write a program that calculates the avg, min, and max. The program runs fine, but when a user decides he doesn't want to enter any scores (enter: -1) in the beginning it still tries to calculate the avg,min and max. I need the program to end w/o …

Member Avatar for pecet
0
115
Member Avatar for infern0

Hi, I'm having trouble writing a program that asks the user 3 questions.(3 possible answers for each) I am using a string to remember all the answers with a getline(cin,answer) statement. My problem is the first two questions have choices for the answers that can be the same such as …

Member Avatar for mrnutty
0
115
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
86
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
98
Member Avatar for infern0

/* Write a program that reads two integers num1 and num2 from the user, then displays the total of the all of the numbers between num1 and num2 (inclusive). Your program should handle the following: 1. Make sure the numbers entered are between 0 and 100. 2. Make sure the …

Member Avatar for Grn Xtrm
-2
110
Member Avatar for infern0