Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
C
source code
source code
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
dilsa
New Member
Join Date:
Oct 2006
Posts:
1
#1
source code
Oct 16 '06, 05:22 AM
c++ code for printing a series like this
4
44
444
4444
Etaks
New Member
Join Date:
Oct 2006
Posts:
7
#2
Oct 16 '06, 06:36 AM
Just to say those numbers?, i think i can do that.
The beginning if familiar, so i will go on the important part.
coute << "44" << endl;
coute << "444" << endl;
coute << "4444" << endl;
Dunno if its right, i began yesterday programming so plz correct me if im wrong.;)
Comment
Post
Cancel
dtimes6
New Member
Join Date:
Oct 2006
Posts:
73
#3
Oct 16 '06, 08:39 AM
#include <iostream>
int main() {
const number = 4;
for( unsigned i = 0; i < number; ++i) {
std::cout<< number<< " " <<std::endl;
}
return 0;
}
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment