the problem was that i had initilzed numN to zero and tried to initialze the vectors as well. so i moved the vectors down under the user input for numN.
now i have a forever loop for the...
Type: Posts; User: bluegoo06
the problem was that i had initilzed numN to zero and tried to initialze the vectors as well. so i moved the vectors down under the user input for numN.
now i have a forever loop for the...
Im trying to do a population vector assignment. I tried to comment my word so you know waht is going on .
I am having trouble putting coefficents into a two dimensional vector array. So if you...
got most of this too work, i talked to my teacher and he gave me some hints but i cannot get it full. The idea is to get the program to count specifically how many "a"'s there continueing through all...
the problem is that always excutes. return true. the output is all odd numbers. i cannot get the counter "j" to count up and divide "m" the number to be tested to work correctly. all the evne...
and j is not always equal to 2...thats the intial value...my counter is not working which is supposed to make j count up..and divide the number by the new number until it not longer works and thus...
i did read the rules what did i mess up?
hi everyone
i have a minor problem. my for loop wont count right. i am so confused as to why it will not work. so if anyone can be of some assistance i would greatly appreciate it.
i am over...
thank you all i finally got this to work
#include <iostream>
using namespace std;
int main ()
{
int lines;
int spaces;
int dots ;
cout << "How many lines do you want in the picture?\n";
cin >> lines;
for ( lines ; lines == 0;...
i need to make a triangle like this
____*
___**
__***
_****
*****
_ indicates spaces
heres what i have so far...when i compile it all it does is end the program...im quite stuck...im new to...