Determine the output displayed in the list box

Assignment Help Programming Languages
Reference no: EM13752475

1. Determine the output displayed in the list box by the lines of code.
Dim tax As Double
tax = 200
tax = 25 + tax
lstOutput.Items.Add(tax)

2. Find the value of the given function where a and b are numeric variables of type Double, a = 5 and b = 3.
Math.Round(a/b)

3. Determine the output displayed in the list box by the lines of code.
Dim m As Integer = 4
Dim n As Integer = 3
Dim s As String = "Microsoft"
Dim t As String = "soft"
lstOutput.Items.Add(s.Length)
lstOutput.Items.Add(s.ToLower)
lstOutput.Items.Add(s.Substring(m, n - 1))
lstOutput.Items.Add(s.IndexOf(t))

4. Identify any errors.
Dim hiyo As String
hiyo = "Silver"
txtBox = "Hi-Yo " & hiYo

5. Determine the output produced by the lines of code.
Const SALES_TAX_RATE As Double = 0.06
Dim price as Double = 100
Dim cost = (1 + SALES_TAX_RATE) * price
txtOutput.Text = FormatCurrency(cost)

6. Identify any errors.
txtOutput.Text = FormatCurrency($1234)

7. Write a program that asks for the amount of the bill and percentage tip and calculates the tip. The program should use variables for each of the quantities and display the outcome in a text box with a label. Test the program on a bill of $20 and a 15% tip.

Reference no: EM13752475

Questions Cloud

Examine the major effects that government policies have : Examine the major effects that government policies have on production and employment. Predict the potential effects that government policies could have on your company.
Who needs information on the growth of an organisation : who needs information on the growth of an organisation
Develop an information system : Suppose your college or organization is considering a new project to develop an information system that would allow all employees, students, and customers to access and maintain their own human resources information, such as address, marital statu..
Describe the contents of text box after button is clicked : Describe the contents of the text box after the button is clicked
Determine the output displayed in the list box : Determine the output displayed in the list box by the lines of code
Discuss how our world today is also a world of discovery : The early modern age was a period of great discovery and exploration. Discuss how our world today is also a world of discovery and exploration.
How high should monopoly set prices in order to maximize : How high should a monopoly set its prices in order to maximize profits? When you post a response to this question, place it in the context.
Components and functions of a linux operating system : You have been engaged to write a manual for managing a Linux environment. This task requires the following to be addressed: Define the necessary components and functions of a Linux operating system
Additional bonds to the public at face value : General Matter's outstanding bond issue has a coupon rate of 11.4%, and it sells at a yield to maturity of 9.20%. The firm wishes to issue additional bonds to the public at face value. What coupon rate must the new bonds offer in order to sell at ..

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a windows application in visual basic

The calculator allows a user to eater numeric values via the 0.9 keysibuttoas. Arithmetic functions such as. add. subtract. multiply.

  Write down a macro which writes the single character

Write down a macro named putChar which writes the single character, passed a macro argument, to standard output in assemble language.

  Write a program that will generate an array

Write a program that will generate an array

  In the context of information processing computer security

1.in the context of information processing computer security and trusted systems explain what is meant by the following

  Discuss the current business scenario of having a budget

Discuss the current business scenario of having a budget of $5000 to target. Can you envision a better strategy if the objective is to maximize the total profit from the campaign? Consider again what additional information you might want that shou..

  What flash and html5 can and cannot do

Provide recommendations for developers ­in terms of developing within and between each platform.

  Write down a program to input widths of both hallways

Write down a program which prompts user to input widths of both hallways. The program then outputs length of longest pipe.

  Write a program to ask the user to enter the amount spent

Write a program to ask the user to enter the amount spent on food and Gas for each day of the week. Count and display the number of days the user spent more than 20 dollars per day on food and more than 10 dollars/per day on gas.

  Pseudocode that will generate reports from data files

Develop a mock-up of each of these reports, and get customer approval of these mock-ups. Write pseudo code that will generate these reports from the data files, using a CASE tool;

  Write simple program to prompt user for gross salary

Write simple program which will prompt user for his or her gross salary. Your program than will display net salary whereby 11.00% of the gross salary is deducted for EPF

  Write css rule to gives all h elements padding

Write down CSS rule which gives all h1 and h2 elements padding of 0.5 ems, grooved border style and margin of 0.5ems. Prepare a layout template which contains header and two columns.

  Create an xml file with markup tags

Create an XML file with markup tags and some sample data to represent a list of invoices. Include the XML tags for two invoices in the list.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd