Instructions In this exercise, you will write a program that prompts the user for a numeric value and then calculate the square root of this number. You will display the result. The main tasks for this exercise are as follows: 1. Create a new Universal Windows Project. 2. Create the user interface. The user interface should include a TextBox, Button, and two Label controls on the main window. Place them anywhere in the window.

Microsoft Windows 10 Comprehensive 2019
1st Edition
ISBN:9780357392607
Author:FREUND
Publisher:FREUND
Chapter6: Advanced Searching Techniques
Section: Chapter Questions
Problem 18AYK
icon
Related questions
Question

Hello! I need help in creating a Universal Windows Project.  Need to create an interface that should include a TextBox, Button, and two Label controls on the main window. Place them anywhere in the window.

need to also calculate sq root as well, but not using Math.Sqrt.

See imaged posted for the expected out come.

 

Thank you!

Instructions
In this exercise, you will write a program that prompts the user for a numeric value and then calculate the square root of this number.
You will display the result.
The main tasks for this exercise are as follows:
1. Create a new Universal Windows Project.
2. Create the user interface. The user interface should include a TextBox, Button, and two Label controls on the main window. Place them anywhere in the
window.
3. Calculate square roots, do not use Math.Sqrt or any square root method (or any math library) if you want full credit. There will be
a 50% grading penalty for using Math.Sqrt. There are multiple sources on the internet showing how to calculate a square root. One
can be found here: https://blogs.sas.com/content/iml/2016/05/16/babylonian-square-roots.html If you have difficulty completing
the assignment you may resort to using Math.Sqrt method or another Math method of the .NET Framework with a reduction of 50
percent on the assignment.
5. Test the application using the following data:
Input
25
0.00000001
-10
Shane
10
Expected Result
5
0.0001
Message box appears with
the message "Please enter a
positive number"
Message box appears with
the message "Please enter a
double"
3.16227766016838
Please include screen captures with 'Input' and 'Expected Results' for each item of data above. In the same document, include all
your code below the screen captures and upload it to the dropbox. Make sure you copy and paste your code into a Word
Document, do not screen capture your code. Include your screen captures as well.
Transcribed Image Text:Instructions In this exercise, you will write a program that prompts the user for a numeric value and then calculate the square root of this number. You will display the result. The main tasks for this exercise are as follows: 1. Create a new Universal Windows Project. 2. Create the user interface. The user interface should include a TextBox, Button, and two Label controls on the main window. Place them anywhere in the window. 3. Calculate square roots, do not use Math.Sqrt or any square root method (or any math library) if you want full credit. There will be a 50% grading penalty for using Math.Sqrt. There are multiple sources on the internet showing how to calculate a square root. One can be found here: https://blogs.sas.com/content/iml/2016/05/16/babylonian-square-roots.html If you have difficulty completing the assignment you may resort to using Math.Sqrt method or another Math method of the .NET Framework with a reduction of 50 percent on the assignment. 5. Test the application using the following data: Input 25 0.00000001 -10 Shane 10 Expected Result 5 0.0001 Message box appears with the message "Please enter a positive number" Message box appears with the message "Please enter a double" 3.16227766016838 Please include screen captures with 'Input' and 'Expected Results' for each item of data above. In the same document, include all your code below the screen captures and upload it to the dropbox. Make sure you copy and paste your code into a Word Document, do not screen capture your code. Include your screen captures as well.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Windows
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 Windows 10 Comprehensive 2019
Microsoft Windows 10 Comprehensive 2019
Computer Science
ISBN:
9780357392607
Author:
FREUND
Publisher:
Cengage
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
A+ Guide To It Technical Support
A+ Guide To It Technical Support
Computer Science
ISBN:
9780357108291
Author:
ANDREWS, Jean.
Publisher:
Cengage,