CFanatic

Go Back   CFanatic > Programming > C++ Programming

Join CFanatic Forum Now

Creating rows of asterisks??? topic posted under C++ Programming which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 09-01-2010, 03:31 PM
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
wakesin is on a distinguished road
| More
Creating rows of asterisks???

hey there.

So I am in need of some help with a project I have.

We need to create a program that will print out rows of asterisks as tall as defined by the user.
For example, if the user entered, 1 2 3 4 3 2 1 10 0, my program should print:
Code:
       *
       *
       *
       *
       *
       *
   *   *
  ***  *
 ***** *
********
1 star in the first row, 2 in the 2nd, and so on.

so far all i have is that i need to place the numbers in an array.....I am very lost and any insight would be appreciated!

Last edited by shabbir; 09-01-2010 at 05:08 PM. Reason: Code Blocks
Reply With Quote
Reply

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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating a gui exdox77 C++ Programming 0 08-28-2010 02:24 AM
Creating Function Object santoshmca.giit C++ Programming 0 07-19-2010 07:14 AM
Creating Skinned Dialog humandynamo MFC Programming 0 07-14-2010 08:47 AM
Creating Objects inspiration C Programming 4 03-27-2010 09:23 PM
Creating Files from a Program celticafro C++ Programming 0 02-02-2009 02:37 PM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 02:33 AM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board