Calculate the total costs of the meals

Assignment Help Web Project
Reference no: EM132098895

Create an application such that when the user clicks a button, your program will first input 2 meal prices from the user.

Calculate the total costs of the meals, the tip based on meal cost, and the tax on that total cost using 6% tax. If the total meal cost is over $30, then the tip should be 20%, otherwise it should be 15%.

Use input validation. Your calls to your sub procedures should look like:

Dim meal1 meal as Double

Dim total, tax, tip as Double

Input Bill (meall meal2)

Calculate Bill (meall, meal2, total, tax, tip)

outputBill (total, tax, tip)

The output should look like this:

Total meal bill is $20.00

Tax is $1.20

Tip is $3.00

Reference no: EM132098895

Questions Cloud

Write an oop program to store integers into a linked list : Write an OOP program to store integers into a linked list. Add code so that the linked list sorted.
Calculate and return the tip on a restaurant bill : Write a C# function called calcTip to calculate and return the tip on a restaurant bill.
Determine whether a given number is an armstrong number : Write a WinMIPS64 / EduMips64 code to determine whether a given number is an Armstrong number.
Calculate the nth term passed into the method : Calculate the nth term passed into the method. Save the value of the term in the instance attribute.
Calculate the total costs of the meals : Create an application such that when the user clicks a button, your program will first input 2 meal prices from the user.
How many bits were used to store each character : How many bits would it take to represent all of the lowercase letters in the Latin alphabet used for English?
Calculate the result of each arithmetic expression : Write a java program to validate and calculate the result of each arithmetic Expression from input file.
Advantage of using the switch statement over : In what circumstances would a programmer use if-then-else instead of if-then? Also, What is the advantage of using the switch statement over a series.
Identify two types of software vulnerabilities : Identify two types of software vulnerabilities present in insecure software applications. Describe the vulnerability and the types of attacks it encourages.

Reviews

Write a Review

Web Project Questions & Answers

  Evaluating an ecommerce website

Create a check list that contains key point for evaluating an ecommerce website - Write a short, reflective report about website

  Gpc and runtime magic quotes

Create a script that lets you know whether Zeus or Helios has the GPC and Runtime Magic Quotes turned on or off. The output should have appropriate labels that define what output signified and should display 'ON' or 'OFF' depending on the setting.

  Creating functions through conditional operator

Use the conditional operator and the cal_days_in_month function, determine the number of days in the current month and output to browser whether it is normal month or a leap month.

  Web development projects with database

Since the vast majority of web-development projects involve a database, do you think that computational activities should be performed there, or do you think they belong in the XML page or stylesheet?

  Comparing shelf software packages

Required assistance with comparing and contrasting two main off the shelf software packages that could be implemented in an organization.

  Web based scams

Web phishing, pharming and vishing are popular web based scams. Talk about currently used tools and recommended measures to defeat this kind of attacks efficiently?

  Explanation of contextual links

The most powerful hypertext capabilities is the the contextual link. Wikipedia . com is a great example of a site that utilizes contextual links.

  How architectural and protocol changes occur

Discuss how architectural and protocol changes happen, the administrative organization that oversees the technical development of the Internet,

  Traditional approaches for training professionals

Webinars and other web conferencing techniques have proved most beneficial for the provision of affordable quality corporate training.

  Internet for business

Discuss how can a business use the Internet and give at least three examples with web links demonstrating your answer.

  It influences the behavior of organizations

Information technology influences the behavior of organizations. Name one effect of Information technology implementation and long-term usage you suppose having a positive contribution and one having a negative consequence.

  Importance of a guided navigation system

Explain the use and importance of a guided navigation system and shopping cart for a website designed for e-commerce and business purpose.

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