Calculate the amount of a waiters tip

Assignment Help Visual Basic Programming
Reference no: EM13545103

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.

Reference no: EM13545103

Questions Cloud

Calculate how high do they jump : NBA player Michael Jordan had one of the longest hang times in the league, about 0.92s. how high do they jump
Evaluate the molar heat of neutralization : Calculate the molar heat of neutralization. Assume the specific heat of the solution is 4.184 J/g*degrees C. The heat capacity of the calorimeter is 32.5 J/degrees C.
Find the speed and horizontal force exerted on the car : A mechanic pushes a 2.4 103 kg car from rest to a speed of v, doing 5100 J of work in the process. During this time, the car moves 29.0 m. find the speed v and horizontal force exerted on the car
What is the position of the next closest image : Two plane mirrors stand facing each other, 3.23 m apart, and a woman stands between them. The woman faces one of the mirrors from a distance of 1.30 m and holds her left arm out to the side of her body with the back of her hand facing the closer m..
Calculate the amount of a waiters tip : 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.
Explain equation in acid solution and determine spontaneous : Balance the following equation in acid solution and determine if it is spontaneous when all ion concentrations are 0.010 M and the gas pressure is 1 atm. NO3¹? (aq) + Sn²? (aq) ? NO(g) +Sn4? (aq)
Use a negative number if the image is behind the mirror : An object is placed 45 cm from a concave mirror of radius 92 cm. (a) Find the location of the image. (Enter in cm. Use a negative number if the image is behind the mirror) cm (b) What is the magnification of the mirror? Is the image real or virtual? ..
Evaluate the angle of incidence : The angle of refraction of a ray of light traveling through a piece of fused glass quartz is 41°. Find the angle of incidence
Evaluate equilibrium constant, if delta gf for nh3 : Calculate Equilibrium constant, if delta Gf for NH3(aq) is -26.50 kj/mole; for H2O(l) is 237.13 kj/mole;for NH4+(aq) is -79.31 kj/mol; for OH-(aq) is 157.3 kj/mole. How many moles of NH4Cl must be added to 1.0L of 0.10M NH3 to make a buffer whose ..

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms". This assignment will contain two (2) Parts: Written Paper and Visual Basic Prototype. The Visual Basic Prototype is not included in the total page count but is included in the e..

  Visual basic programming discussion

The use of decision logic is one of the major concepts of computer programming. The decision takes your code from being sequential to one that can take various options based on the different conditions. Determine the method of coding that you would u..

  Ticketseller

Use Visual basic 2010Visual Basic,  TicketSeller. This assignment will contain two (2) Parts: Event Planning Document and Coding phase. You must submit both parts as separate files for the completion of this assignment. Remember, you are only to de..

  Data storage & "exception error trapping"

Discussion on Data Storage and  "Exception Error Trapping".

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms".

  The implementation of server side of the application

Implementation of dynamic content, server side (backend) and database for your web site using Microsoft Visual Studio 2012

  Need help building a vwd website

Need help building a VWD website. This website may not go live. I have little progress as a family tragedy has impeded my time for school.

  To develop a visual basic console application

The aim of the assessment is to develop a Visual Basic console application that performs a number of mathematical functions. The mathematics package will be menu driven, i.e. a number of options will be displayed, and the user will be able to input w..

  Program in basic which prompts user to input two integers

Write down the program by using Small Basic which prompts the user to input two integers: firstNum and secondNum (firstNum must be less than secondNum).

  Develop vb-net application that includes arrays and loops

Develop a VB.NET application that includes arrays, loops, and IF statements to do the following. Your output must also display the number of applicant(s) being interviewed.

  Visual basic program to accept numeral values

Write a VISUAL BASIC program to accept numeral values of any unit, sum up the total, calculate the average, and then Output the result with a proper unit.

  Write a visual logic program to accept series of number

Write a Visual Logic program which accepts a series of numbers, until the first negative value is entered. The maximum number of non-negative input values is 250.

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