On Tue, Nov 19, 2013 at 06:22:32PM -0600, Anton Gilb wrote:
> Not sure what I'm doing wrong, here are the problems and what I have for
> answers so far.
What makes you think you're doing anything wrong? See below for more
comments.
> 1.)Write the definition of a class Counter containing:
> An
Anton Gilb wrote:
>Not sure what I'm doing wrong, here are the problems and what I have
>for answers so far.
You should tell us what's wrong with your solutions.
Do you get an error? Then please show us the complete traceback (error
message).
Does your code something else than you expect? Then
Not sure what I'm doing wrong, here are the problems and what I have for
answers so far.
1.)Write the definition of a class Counter containing:
An instance variable named counter of type int .
A constructor that takes one int argument and assigns its value to counter
A method named increme