i put srand(int time); in int main before the random number was chosen and i got a parse error
Type: Posts; User: diaperdandy
i put srand(int time); in int main before the random number was chosen and i got a parse error
whats a seed
i used this function to get a random number and now the random numbers are picked in the same order every time the program is run. How can i change the order each time?
int randMid(int low, int...
i appreciate the help
i have 2 parse errors and "variables shadow parameters"
can u give me a little more help
int DisplayMenu(); //display menu / input choice
void GetFrac(int, int); //inputs one...
this is suppose to add two functions
void AddFractions(int & x, int & y, int & x2, int & y2);
void GetFrac(int, int);
case 1: GetFrac(x, y);
GetFrac(x2, y2);
...
i dont understand after u compare strings how to say if they are equal to do something and if not do something else.
you said it returns 0 if they are true so can u do an example for one of the...
the program asks questions in the same order, how can i fix that?
for some questions any answer is seen as correct...?
int main()
{
char answer [20];
char ans = 'y';
cout <<"Do...
the program always asks the questions in the same order and will not respond with correct when the answer is correct
can u help me, thanks
int main()
{
char answer [20];
char ans =...