Visual Basic.net Help!

Hello ladies and gents,

I'm currently a sophmore in highschool, and made a big mistake when choosing an elective class. I chose to learn VB.Net through a virtual teacher... Learning it through the info they give you is nearly impossible! They just basically say, "Do a quick internet search, and write this program" I am currently way behind, and struggling. If anyone has any knowledge of VB, please help me write a few simple programs.

I need help with:

 

Write a program that will calculate and print the volume of a cube or a sphere
using variables inputted by the user.    I have been trying for over a month on this one, and it is worth 100 points.

 

 

and then 2 other easier ones, which are only worth 20 points are 

1. Rewrite your program using a constructor to subtract two numbers.
2. Rewrite your program using a constructor to multiply two numbers.


Any help would be amazing, and if you need more info on what the program should be like just ask. The code should pretty short and simple, like under 20 lines, but there is no limit to lines, so don't worry about it. Thanks a lot.

-TacoBell

:[ Does it have to be VB.NET? I had a horrible time with VB.NET when I was really little, but I know the basics, lawl. All right. Let's do the simple ones first. What do you know as of right now?

Is VB.net the same this as Visual Basic 2010?  If so I could knock out those programs for you later tonight after work, it's about 1:30 now I get done at 10

VB.net is the same as Visual Basic 2010! Any help would be much appreciated. Have fun at work :P

Unfortuantly, yes. I was planning on taking C++, but my school stopped providing that and I got stuck with VB. Here is a program that I wrote yesterday, I had to use class and objects to add numbers

Module Module1
Class Jake
Public Function Add(ByVal a As Integer, ByVal b As Integer)
Return a + b
End Function
End Class

Sub Main()
Dim objwile As New Jake
Console.WriteLine(objwile.Add(5, 6))
Console.ReadKey()
End Sub

 So as you can see, pretty limited knowledge :)

Well we're so slow I might be able to do the code for you here, do you want a GUI or CLI application?

I'm like super super new to this, so I just use Console Applications. If you could use that, that would be great.

I'm not exactly sure what a constructor is, after doing some reading I think it is basically a subroutine, anyway here are the programs

The volume Calc, user clicks a radio button to select a cube or sphere and enters a number into a text box to get the volume GUI

https://docs.google.com/open?id=0B9MtAZqhw0IRc0xTNUt5UVljTnM

The multiply or subtract app CLI

https://docs.google.com/open?id=0B9MtAZqhw0IRX0RiZFhvWEFvejA

If you want I can turn the GUI app into a console app

CLI volume app

https://docs.google.com/open?id=0B9MtAZqhw0IRRzFhX0dNQlA3cVk

Let me know if you have any questions about the code

Wow, This is exactly what I have been trying to write for weeks! Thanks for putting in the notes, so it makes what I am looking at easier to understand. I think that will cover all of my questions for now. Thank you so much, I really needed this help.

This would definitely be considered as cheating if I was teaching the class. It is OK to ask a vey specific question for a vey specific part of the homework because you tried to, but honestly failed to undestand. Just posting an entire homework question and asking for help is no, no, no.

I understand what you are saying, but I am not just copying and pasting the code. I am rewriting it, and changing variables etc. I just didn't know the functions and how to organize it.