Question: Data Type Assignment Objective: The purpose of this assignment is to help you to start working with data types in CH . You will work
Data Type Assignment
Objective:
The purpose of this assignment is to help you to start working with data types in CH You will
work with many of the data types in Unit
Exercises:
Create a program that meets these requirements:
Write a windows form program that meets the following criteria:
a Has two textboxes
b Has four labels
c Has two buttons
The functionality of the program should be as follows:
a When a button is pressed, calculate the speed a person needs to drive to arrive
at their destination. Using the physics formula
i The distance value should be inputted in METRIC
ii Display this value in your fourth label.
b When the second button is pressed convert the velocity into imperial using the
following formula
Ensure your calculations are using the correct data types. Be mindful of type conversion
and do not lose any precision in your answers or conversions. Le floats to integers,
strings to integers etc.
Hints:
Ensure you tabel your lextboxes
Name your form
Use proper naming convention everywhere
Your GUll may look something like this:
find the solution
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
