Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 13-05-2008, 12:25 AM   #1 (permalink)
arunsmartkid
Guest
 
Posts: n/a
Default Need help for this program..pls


I am basically studying C language and with my own logic I have developed more but I have problem with ths, can any one provide me a simple C program to get the output as follows :


*
**
***
****
*****
 
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 13-05-2008, 12:29 AM   #2 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: Need help for this program..pls

Pyramid Programs:
Concept Behind Pyramid Program in C

General Homework Cheating:
Post your C/C++ Programs Here
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 13-05-2008, 11:50 PM   #3 (permalink)
Wise Old Owl
 
clmlbx's Avatar
 
Join Date: Aug 2006
Location: Indore
Posts: 1,690
Default Re: Need help for this program..pls

^^fantastic titles
__________________
Athlon II X4 635 @ 2.9Ghz   Gigabyte GA-MA785GMT-US2H   Kingston 2x2 Gb 1333Mhz DDR3   WDC 500Gb Green   Palit GTS 250 512mb   Tagan 500W   Samsung B2030   Lg DVD Writer
clmlbx is online now  
Old 21-05-2008, 02:24 PM   #4 (permalink)
Beware of the innocent
 
ilugd's Avatar
 
Join Date: Dec 2005
Posts: 1,024
Default Re: Need help for this program..pls

#include "stdio.h"

int main()
{
int i,j, k;
j=10;
for (i=0; i<j; i++)
{
for (k=0; k<j-i; k++) printf(" ");
for (k=0; k<i*2+1; k++) printf("*");
printf("\n");
}
}

ha ha. programming in c after a looong time. had fun.
__________________
Life is too short. Have fun.
ilugd is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
which program used gramesh QnA (read only) 6 20-04-2007 09:29 PM
c program saro_gn QnA (read only) 1 04-02-2006 03:21 PM
c program saro_gn QnA (read only) 4 14-12-2005 07:31 PM
program to run vb shivi4 QnA (read only) 2 24-06-2005 10:43 AM
new program in 'close program menu' list and more....... vishakadatta QnA (read only) 2 12-04-2005 11:33 PM

 
Latest Threads
- by Sujeet
- by clmlbx
- by Sujeet
- by icebags

Advertisement




All times are GMT +5.5. The time now is 11:00 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2