Triangles of Asterisks

Ratings: 1 Star2 Stars3 Stars4 Stars5 Stars (5.00 out of 5) - Rate Now!
Loading...

Download Category: ,

AsteriskPattern.zip - (208.47 KB)
[
AsteriskPattern/AsteriskPattern.sln
AsteriskPattern/AsteriskPattern.suo
AsteriskPattern/AsteriskPattern/
AsteriskPattern/AsteriskPattern/App.config
AsteriskPattern/AsteriskPattern/AsteriskPattern.vbproj
AsteriskPattern/AsteriskPattern/bin/
AsteriskPattern/AsteriskPattern/bin/Debug/
AsteriskPattern/AsteriskPattern/bin/Debug/AsteriskPattern.exe
AsteriskPattern/AsteriskPattern/bin/Debug/AsteriskPattern.pdb
AsteriskPattern/AsteriskPattern/bin/Debug/AsteriskPattern.vshost.exe
AsteriskPattern/AsteriskPattern/bin/Debug/AsteriskPattern.vshost.exe.manifest
AsteriskPattern/AsteriskPattern/bin/Debug/AsteriskPattern.xml
AsteriskPattern/AsteriskPattern/Form1.Designer.vb
AsteriskPattern/AsteriskPattern/Form1.resx
AsteriskPattern/AsteriskPattern/Form1.vb
AsteriskPattern/AsteriskPattern/My Project/
AsteriskPattern/AsteriskPattern/My Project/Application.Designer.vb
AsteriskPattern/AsteriskPattern/My Project/Application.myapp
AsteriskPattern/AsteriskPattern/My Project/AssemblyInfo.vb
AsteriskPattern/AsteriskPattern/My Project/Resources.Designer.vb
AsteriskPattern/AsteriskPattern/My Project/Resources.resx
AsteriskPattern/AsteriskPattern/My Project/Settings.Designer.vb
AsteriskPattern/AsteriskPattern/My Project/Settings.settings
AsteriskPattern/AsteriskPattern/obj/
AsteriskPattern/AsteriskPattern/obj/x86/
AsteriskPattern/AsteriskPattern/obj/x86/Debug/
AsteriskPattern/AsteriskPattern/obj/x86/Debug/AsteriskPattern.exe
AsteriskPattern/AsteriskPattern/obj/x86/Debug/AsteriskPattern.Form1.resources
AsteriskPattern/AsteriskPattern/obj/x86/Debug/AsteriskPattern.pdb
AsteriskPattern/AsteriskPattern/obj/x86/Debug/AsteriskPattern.Resources.resources
AsteriskPattern/AsteriskPattern/obj/x86/Debug/AsteriskPattern.vbproj.FileListAbsolute.txt
AsteriskPattern/AsteriskPattern/obj/x86/Debug/AsteriskPattern.vbproj.GenerateResource.Cache
AsteriskPattern/AsteriskPattern/obj/x86/Debug/AsteriskPattern.xml
AsteriskPattern/AsteriskPattern/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
AsteriskPattern/AsteriskPattern/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
AsteriskPattern/AsteriskPattern/obj/x86/Debug/TempPE/
AsteriskPattern/AsteriskPattern/obj/x86/Debug/TempPE/My Project.Resources.Designer.vb.dll
AsteriskPattern/Question.txt
AsteriskPattern/Screenshot_1.png
]

(Triangles of asterisks) Write a program that displays the following patterns separately, one below the other in a textbox. Use for…Next loops to generate the patterns. All asterisks (*) should be displayed one at a time by the statement outputTextBox.AppendText(“*”) (This causes the asterisk to display side by side.) The statement outputTextBox.AppendText(vbCrLf) can be used to display spaces for the last two patterns. There should be no other output statement for the program. [Hint: the last two pattern require that each line begin with an appropriate number of blanks.] Maximize your use of repititon(with nested For…Next statements) and minimize the number of output sttements. Set the TextBox’s font property to Lucida Console, its MultiLine property to True and its ScrollBars property to verticle ‘so that you can scroll through the results. Provide textboxs to enter the size of the triangles and the symbol to print. Print the triangles only when size is between 3 and 15, inlcusive.

Get a fresh solution of this question. Ask it now to our experts.
doubt

Ask Your Question

We have verified professionals who are ready to answer your question.

time

Save Time and Money

We choose experts who can quickly answer your question and that suit your budget.

download

Get Your Answer

Your satisfaction is 100% guaranteed. You can keep on asking questions until you get the answer you need.