How can I add the following conditions:
1) Make the child ask for a new problem.
2) Display score as percent (numberRight/numberAttempted*100)
3) Ability child to end the program.
...
Type: Posts; User: LePlusMieux
How can I add the following conditions:
1) Make the child ask for a new problem.
2) Display score as percent (numberRight/numberAttempted*100)
3) Ability child to end the program.
...
I am trying to determine if a string of characters is a palindrome or not by pushing each character onto a stack as it's read and simultaneously adding it to a queue. Here's is what I have so far.
...
How do you build a queue class which uses an integer data member 'count' that stores the number of elements currently in the queue to distinguish between a queue-full and a queue-empty condition...
Any idea as to how to write a simple algorithm to reverse elements in a queue?
I am totally stack on where to start on this. I have these directions:
Develop a class called complex. This class enables operations on so called complex numbers. These are of the form:...
I did changed to your suggestion but it didn't work for some reason. Thanks though.
I am guessing something is not right. When I input a palindrome string for example 'madam' is says Not palindrome. Your help is appreciated.
#include<iostream.h>
#include<string.h>...
I am getting this compile error when I run the below program:
Error : illegal struct/union/enum/class definition
bubbleSort.cpp line 15 double[] a;
Error : declaration syntax error...
Hi, I am trying to write this program and obviously I have problems with it. I am not sure where and what I am doing wrong, anyone's help is much appreciated, thanks for the time.
#include...
Hi, I am new to programming and I need anyone's help on this.
"Creat a class Rectangle. The class attributes length and width, each of which default to 1. It has member functions that calculate the...