I am a beginner on C++, and I have 3 programs at hand, who can show me how to write the prgrams for those problems, thank you very much:lol: :

See the attached file.

Sorry. We don't do homework :)

commented: Absolutely! - Salem +3
Member Avatar for iamthwee

Looks to me like the main problem you may have is dynamically allocating memory. In that case remember, when you use new follow it with delete[].

The actual questions is just a case of thinking it through carefully on paper first. Simple

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.