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
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
programming help
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
jhendrix
New Member
Join Date:
Oct 2006
Posts:
9
#1
programming help
Oct 11 '06, 01:57 AM
Hi I recently received an assignment to make a C prgram which produces a output like:
*****
****
***
**
*
pussystabber69
New Member
Join Date:
Oct 2006
Posts:
4
#2
Oct 11 '06, 02:08 AM
hey Jhendrix! you're too lucky because I know how to create that shitty-ass output, here's the code for ya!!!!!!!!!:
#include<stdio. h>
main()
{
int x,y;
for (x=1;x<=5;++x) {
printf("\n");
for (y=1;y<=x;++y)
printf("*"); }
getch();
return 0;
}
that's so simple!!!
Comment
Post
Cancel
dynamicleo
New Member
Join Date:
Oct 2006
Posts:
14
#3
Oct 11 '06, 08:42 AM
#include<iostre am.h>
void main(){
for (int i = 1; i <= 5; i++){
for(int j = i; j <= 5; j++)
cout<< "*";
cout<< endl;
}
}
Comment
Post
Cancel
dynamicleo
New Member
Join Date:
Oct 2006
Posts:
14
#4
Oct 11 '06, 08:45 AM
#include<iostre am.h>
#include<conio. h>
void main(){
clrscr();
for (int i = 1; i <= 5; i++){
for(int j = i; j <= 5; j++)
cout<< "*";
cout<< endl;
}
getch();
}
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment