Martin2k Forums

Board index Programming VB.NET

visual basic 2008 help! How to create a histogram

Ask questions about all versions of Visual Basic.NET (2002, 2003, 2005, 2008 & 2010) or anything to do with VB.NET programming.

visual basic 2008 help! How to create a histogram

Postby kielpaulo » Wed Sep 08, 2010 3:48 pm

hello everyone! im a newbie here. Pls help me in this program... im tired of searching it in Google...
I'm a beginner in visual basic.

how to create a program that read a string (only letters are allowed) and output its distinct letters in alphabetical order. Adjacent to the letters are asterisks that represent the number of times the letter appeared in the given string.

Sample Input/output

Enter a string: hello world
Histogram for hello world

e *
d *
h *
l ***
o **
r *
w *

kielpaulo
 

Re: visual basic 2008 help! How to create a histogram

Postby Keith » Sun Sep 19, 2010 6:49 pm

This title is talking about visual basic 2008 which is going to be the same as VB6.

I answered this question the other day

viewtopic.php?f=13&t=655

Its exactly the same wording so why have you made two usernames on here. If you want more help then please register. ;)
I've been programming with VB for 17 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

Image
Keith
Administrator
 
Posts: 858
Joined: Tue Oct 13, 2009 12:15 am
Location: Stoke on Trent, England
Medals: 1
6 Star (1)


Return to VB.NET

Who is online

Users browsing this forum: No registered users and 0 guests

cron