Visual C# Blank App (Universal Windows) Create a program that prompts for a numeric value and then calculate the square root of this number. Need to display the result.   The user interface must include a TextBox, Button, and two Label controls on the main window.  Calculate square roots, do not use Math.Sqrt or any square root method (or any math library) or another Math method of the .NET Framework on this assignment. See the Picture attached to test the application using the data, make sure if the user enter a negative number a message will show advising to enter a positive number

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter6: Using Arrays
Section: Chapter Questions
Problem 2E: For each of the following exercises, you may choose to write a console-based or GUI application, or...
icon
Related questions
Question

Visual C# Blank App (Universal Windows)

Create a program that prompts for a numeric value and then calculate the square root of this number. Need to display the result.

 

The user interface must include a TextBox, Button, and two Label controls on the main window. 

Calculate square roots, do not use Math.Sqrt or any square root method (or any math library) or another Math method of the .NET Framework on this assignment.

See the Picture attached to test the application using the data, make sure if the user enter a negative number a message will show advising to enter a positive number 

 
E. Test the application using the following data:
Input
Expected Result
25
5
0.00000001
0.0001
Message box appears with
the message "Please enter a
positive number"
-10
Shane
Message box appears with
the message "Please enter a
double"
10
3.16227766016838
Transcribed Image Text:E. Test the application using the following data: Input Expected Result 25 5 0.00000001 0.0001 Message box appears with the message "Please enter a positive number" -10 Shane Message box appears with the message "Please enter a double" 10 3.16227766016838
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 5 images

Blurred answer
Knowledge Booster
Running Time of Application
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning