Search:
Type: Posts; User: psfign
Search:
Search took 0.35 seconds.
-
March 10th, 2013, 06:40 PM
oh i didnt realize that for the avg, thanks! But yea i have to clean it up some before i submit it. i always seem to have garbage stuff after trying different things.
-
March 10th, 2013, 06:03 PM
boom!
#include <iostream>
#include <iomanip>
using namespace std;
const int SENTINEL = -999;
-
March 10th, 2013, 05:30 PM
i just posted it right as you were replying
-
March 10th, 2013, 05:25 PM
well, i think i found the conflict, but i cant figure out how to get the while statement and the for statement to co-exist. if i remove the while statement, the program does count the evens. I am...
-
March 10th, 2013, 03:26 PM
that makes sense. Can I also mix while statements with for statements? Im doing a number classifying project now that is requiring me to display:
1. A count of the number of integers entered
2. The...
-
March 10th, 2013, 12:43 PM
Thanks Dave, I did have them set to char. But yea, i keep using = wrong, i switched them to == and it worked.
-
March 9th, 2013, 10:35 PM
ok, i figured it out. I have to do cases...
-
March 9th, 2013, 09:16 PM
so it seems like iif im trying to do if statements within a while statement, it only works if i have two ifs.
for example on this code, i have 5 letter choices the user can input, but if i add...
-
March 9th, 2013, 07:15 PM
UGH, i didnt realize i had a = instead of ==. but yes, == is equal to. tbh, im not sure when i would use = instead
-
March 9th, 2013, 05:51 PM
Im trying to create a program that has the user input a 5 digit number. If it's between 10000 & 99999, it will do one thing..(just saying 'yes' for now. Outside those numbers will prompt the user to...
|
Click Here to Expand Forum to Full Width
|