This is how to get input

Input comes in many forms from the commands you are entering in on the program, to information coming from another computer. There are also input devices such as a keyboard and mouse. To show how to make input we will make a program that looks like a pizza order form:

First things first, open up visual studio and select new project again. We will be creating this in a Windows Form Application, select that and name your program. From the toolbox add a groupBox and 3 radio buttons. We will rename all of these things as follows:

Next add a label, a textbox, a button and a rich textbox. Rename all of these as follows

Now double click the button and add the following lines of code to your program:

These lines of code will keep track of what button is pressed, now run the program, select the size and type in your name and the rich text box will say "y/n ordered a ______(size)."

and that is how to get input, use this example to create your own input programs!