write a c++ program to display the following pattern:
a
a b
a b c
naik.pranjal
0
Newbie Poster
Recommended Answers
Jump to PostSo 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
system("pause")
? Wouldntcin.get()
work just as well and be portable and safe?
Jump to Posthey tell me "system()" is in which header file?
#include <cstdlib>
All 8 Replies
NathanOliver
429
Veteran Poster
Featured Poster
nmaillet
97
Posting Whiz in Training
Ab000dy_85
-3
Junior Poster in Training
nmaillet
commented:
Did you have a point to make here?
-1
Lucaci Andrew
commented:
Not even remotely related to this matter...
+0
Ab000dy_85
-3
Junior Poster in Training
Lucaci Andrew
commented:
Spoon feeding! Not cool.
-1
mvmalderen
commented:
lol, are you serious?! system("pause")?
-3
NathanOliver
429
Veteran Poster
Featured Poster
luck3361
0
Newbie Poster
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
Varun_8
0
Newbie Poster
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.