cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
how we write the output of this code?
how we write the output of this code?
Jan 1, 2013 at 9:55pm UTC
closed account (
G187ko23
)
int main()
{ int a=5,b,c;
do {
for (b=1; b<= a; b++)
{ if (b%2==1)
continue;
cout << b;
}
cout << endl;
} while (--a >0);
return 0; }
Last edited on
Jan 1, 2013 at 9:56pm UTC
Topic archived. No new replies allowed.