Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/girlscout-c/
- Create a class named GirlScout that contains fields for a GirlScout’s name, troop number, and dues owed. The program should justify the following conditions:
- Include a constant static field that contains the last words of the GirlScout motto (“to obey the Girl Scout law”).
- Include overloaded constructors that allow you to set all three nonstatic GirlScout fields to default values or to parameter values.
- Include properties for each field.
- Create a class named DemoScouts that instantiates two GirlScout objects and displays their values.
- Create one object to use the default constructor and the other to use the constructor that requires arguments.
- Display the GirlScout motto.
- Save the class as DemoScouts.es
- Download: http://solutionzip.com/downloads/girlscout-c/
Advertisement
Add Comment
Please, Sign In to add comment