TheInspaminator
New member
- Dec 15, 2009
- 1
- 0
- 1
I am using Visual Basic 2008 Express - please keep in mind different compilers will use different keywords, and since I'm an ubernoob, this confuses me easily.
I have this Visual Basic class I'm taking online. And the damn professor doesn't know how to communicate or assist his students at all. He even seems a little irritated when I ask for pointers.
I can't figure out these two assignments. Partly because I didn't get any sleep last night. Using the guidlines, can anyone help me out here? At this point in the section all I'm supposed to know about are Do, Do While, Do Until, Exit Do, Continue Do, and For Next loops. So try not to go off in a fancy super-coder direction. And everything is (preferably) made through Console Applications on VBE 2008
Problem 1:
Write a program that evaluates the factorials of the integers from 1 to 10 using an appropriate data type. (factorials are... factorial of 1 is 1, factorial of 5 is 120, or 1*2*3*4*5=120)
Problem 2:
Make a diamond - 1 asterisk at the top, 9 asterisks at it's widest - using only nested For...Next statements to print the asterisks AND spaces, minimizing use of output statements.
This stuff is retarded and difficult for me. Any pointers for a noob?
bdloving, you got me thinking a little, but your keywords or something don't work with VBE2008, and I don't know how to convert them.
When I run the program with minor keyword modifications, All it does is display numbers 1 through 10, which isn't quite what I'm looking for.
Any other ideas, anyone?
I have this Visual Basic class I'm taking online. And the damn professor doesn't know how to communicate or assist his students at all. He even seems a little irritated when I ask for pointers.
I can't figure out these two assignments. Partly because I didn't get any sleep last night. Using the guidlines, can anyone help me out here? At this point in the section all I'm supposed to know about are Do, Do While, Do Until, Exit Do, Continue Do, and For Next loops. So try not to go off in a fancy super-coder direction. And everything is (preferably) made through Console Applications on VBE 2008
Problem 1:
Write a program that evaluates the factorials of the integers from 1 to 10 using an appropriate data type. (factorials are... factorial of 1 is 1, factorial of 5 is 120, or 1*2*3*4*5=120)
Problem 2:
Make a diamond - 1 asterisk at the top, 9 asterisks at it's widest - using only nested For...Next statements to print the asterisks AND spaces, minimizing use of output statements.
This stuff is retarded and difficult for me. Any pointers for a noob?
bdloving, you got me thinking a little, but your keywords or something don't work with VBE2008, and I don't know how to convert them.
When I run the program with minor keyword modifications, All it does is display numbers 1 through 10, which isn't quite what I'm looking for.
Any other ideas, anyone?