write a c++ program to display the following pattern:
a b c
Jump to Post
So before you even find out if this is homework or not you just decide to do the assignment for them? What is that going to teach them?
As a question on your code why are you using
cin.get()work just as well and be portable and safe?
All 8 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.