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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education