Write a program to carry out each task the program should


PART I:

Complete the following programming exercise.

Write a program to carry out each task. The program should use variables for each of the quantities and display the outcome in a text box with a label.

1. Calculate the amount of a waiter's tip, given the amount of the bill and the percentage tip as input.

2. Convert a percentage to a decimal. For instance, if the user enters 125% into a text box, then the output should be 1.25.

3. Write a program that contains a button and a read-only text box on the form, with the text box initially containing 100. Each time the button is clicked on, the number in the text box should decrease by 1.

4. Request a company's annual revenue and expenses as input, and display the company's net income (revenue minus expenses).

Determine the output oriduced by the lines of code.

1. txtOutput.Text = FormatNumber(1234.56, 0)
2. txtOutput.Text = FormatNumber(-1234.56, 3)
3. txtOutput.Text = FormatNumber(1234, 1)
4. txtOutput.Text = FormatNumber(12345)
5. txtOutput.Text = FormatNumber(0.012, 1)
6. txtOutput.Text = FormatNumber(-2 / 3)


PART II:

Write a two page research paper on VB input and output as discussed in the textbook. Explain the concepts discussed in the textbook using at least one example not included in the textbook.

Use two other resources and list each resource used at the end of paper in the reference list section. Please remember that you may utilize LIRN to help you search for resources.

Request for Solution File

Ask an Expert for Answer!!
Visual Basic Programming: Write a program to carry out each task the program should
Reference No:- TGS0813033

Expected delivery within 24 Hours