Purchase Solution

VB Basic Mathematical Calculation

Not what you're looking for?

Ask Custom Question

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.

Purchase this Solution

Purchase this Solution


Free BrainMass Quizzes
Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Javscript Basics

Quiz on basics of javascript programming language.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

C++ Operators

This quiz tests a student's knowledge about C++ operators.