Hello, I need some help on my assignment (I attached the actual assignment at the end of the answers). I did most of the parts but I still have problems writing some codes in Visual Basic. I need answers to the followings:
1. I need a code (Visual Basic) for the syntax X = P * R^2 (P=3.14)
2. I need a code to make the Text boxes, when used to display results, to be read-only.
3. I need a code to create an Exit button.
4. I need a code to Make sure the application accepts and calculates decimal values.
Real Assignment:
Your employer has requested the development of a software application to calculate the area of a circle. The application must accept only one value (i.e., the radius), and it must display the result in decimal value.
Area = p × R2
Remember p is equal to 3.14.
1. First install VB.NET.
2. Create a new solution named YourName_Unit01.sln.
3. The form will contain a minimum of two text box control instances.
4. One text box will be used to input the value to be converted, and the second text 5. box will be used to display the results from the calculation.
6. Text boxes, when used to display results, must be read-only.
7. Make the Calculate button the Accept button.
8. Create a Clear button that will clear both text boxes.
9. Create an Exit button.
10. Use labels to identify each text box used in the form.
11. Make sure the application accepts and calculates decimal values.