Computer Science Homework Solutions
Problem
#88711

VB Basic Mathematical Calculation

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.

Solution
What is this?
By OTA - Overall OTA Rating
Purchase Cost Now
$2.19 CAD (was ~$11.97)
Included in Download
  • Plain text response
  • Attached file(s):
    • JS_Unit01.zip
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
  • Application Development - Part I. Basic mathematical calculation 1. How are Integer and String data types used in an application? 2. Are Integers and Strings considered objects in VB? Elaborate. 3. Why is it inherited fro ...
  • Develop A Visual Basic (VB) Software Application to Calculate the Area of A Circle - 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 i ...
  • Write a code in visual Basic turn distance from English to metric unit - Need to create 2 textboxes with label one with input of value to be converted English using CDbl and another to display the result of the calculation metric using cstr. then set the properties for ou ...
  • Visual Basic - 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 i ...
  • Develop an application to perform a geometric calculation - You have been hired by an engineering company to develop software to perform advanced geometric calculation. Your new boss asked you to develop an application that allows engineers to calculate the su ...
Browse