class program

Write a program that listed all the capitals for countries in a specific region of the world. Create a countryType class to store the information. This class will contain capital, primary languages and the population. Create a “continent” array of countryType class and display its contents.

i need help i don't have an idea how to do this.
Have you written anything so far?
Or do you have any idea at all of what to do?
ie. create a class and an array?
well, i know how to create an array, but not a class. i don't know what is a mutator and an accessor. I don't know abstraction.
Last edited on
Topic archived. No new replies allowed.