The Following page will teach you how to get input.
We will show input by creating a Windows form program that asks people how there feeling.
Start up a windows form program and name it NameFeelingForm
Add a Groupbox, and 3 Radiobottuns in the groupbox. It Should Look Like This.
Now rename the names and texts to the following
To name and Set Text, Refer to this Picutre
Radion Button 1
Radion Button 2
Radion Button 3
It Should Now Look Like This
Now add the following
Rename them all to the following
Button
Textbox
RichtextBox
Label
It Should Now Look Like This
Double Click The Button and change the code to this
Click start and... BOOM. You now have output.
int x;
x = 5; x is now 5
x = 2+8; x is now 10
x=x*2; //x is now 20. The * is 10(X Variable) times 2
x=x/10; //x is now 2 because 20 Devided by 10 is 2.
Remember even if your integer is a decimal. It will not show it unless you use the Double System.
You now know how to create input in 2 ways!
Click Me to go back to the main page!