| | |
VB code.
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2008
Posts: 2
Reputation:
Solved Threads: 0
How to product this code as shown below:
If I enter "5" and "10" in the console screen, it display
5 *****
10 **********
Whatever I enter any positive numbers, the screen will display the asterisk partern and depend on the number input.
Please tell me the method using VB code to handle this program.
If I enter "5" and "10" in the console screen, it display
5 *****
10 **********
Whatever I enter any positive numbers, the screen will display the asterisk partern and depend on the number input.
Please tell me the method using VB code to handle this program.
Since this sounds like an assignment for class, I will try to point you in the right direction and let you finish things off... let me know if you need more help.
1) You will probably want to use a For...Next loop.
2) You probably want to use the commend Console.Write
1) You will probably want to use a For...Next loop.
2) You probably want to use the commend Console.Write
•
•
Join Date: Dec 2002
Posts: 461
Reputation:
Solved Threads: 56
Instead of a for next loop, use the new string function. ie.
VB.NET Syntax (Toggle Plain Text)
str = New String(character,number of characters)
Wayne
It is hard to understand how a cemetery can raise its burial rates and blame it on the cost of living.
It is hard to understand how a cemetery can raise its burial rates and blame it on the cost of living.
![]() |
Similar Threads
- Code 19 Registry Error (Windows NT / 2000 / XP)
- Why won't this code work? (VB.NET)
- Need help with DirectX code (C)
- Tutorials & Code Submissions - Questions? (DaniWeb Community Feedback)
- Some Basic Code Hopefully (Help Needed) (HTML and CSS)
Other Threads in the VB.NET Forum
- Previous Thread: Help Web Browser Open File Dialog Problems
- Next Thread: MonthCalendar in vb.net 2003
| Thread Tools | Search this Thread |
.net .net2008 2008 access add advanced application array assignment basic beginner box browser button buttons center click client code combo convert cpu cuesent data database datagrid datagridview datetimepicker designer dissertation dissertations dissertationtopic eclipse editvb.net employees excel exists filter forms function html images isnumericfuntioncall listview map mobile module msaccess mssqlbackend mysql net number open page pan panel pdf picturebox picturebox2 port position print printing printpreview read record regex reuse right-to-left save search serial settings socket sorting sqldatbase sqlserver storedprocedure temp textbox timer timespan transparency txttoxmlconverter usercontol vb vb.net vba vbnet vista visual visualbasic visualbasic.net visualstudio.net web winsock wpf wrapingcode xml year





