Question: This is for Microsoft Visual Studio. On the form, Fred bought 3 phones, each of which cost $50. Assign number of phones to a variable.
This is for Microsoft Visual Studio.
On the form, Fred bought 3 phones, each of which cost $50. Assign number of phones to a variable. Calculate the total cost and assign that as a variable. Remember, you will need to declare these 2 variables before you can use them in the statements. Assume the textbox for phones is called txtPhones. The answer will show up in lblTotal.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
