VB.NET program to calculate area of circle
Not what you're looking for?
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.
First install VB.NET.
Create a new solution named YourName_Unit01.
The form will contain a minimum of two text box control instances.
One text box will be used to input the value to be converted, and the second text box will be used to display the results from the calculation.
Text boxes, when used to display results, must be read-only.
Assign the Calculate button to the form's AcceptButton property.
Create a Clear button that will clear both text boxes.
Create an Exit button.
Use labels to identify each text box used in the form.
Make sure the application accepts and calculates decimal values.
Purchase this Solution
Solution Summary
This is a VB.NET program to find the area of a circle given its radius. There is a visual interface through which the user enters the input and displays the output.
Solution Preview
Hello,
I have attached your application. I have used Visual Studio 2008, as you had not mentioned any version. In case ...
Purchase this Solution
Free BrainMass Quizzes
C# variables and classes
This quiz contains questions about C# classes and variables.
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.
Basic Computer Terms
We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.
Inserting and deleting in a linked list
This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.
Word 2010: Tables
Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.