Write a program to input a purchase amount

Assignment Help Programming Languages
Reference no: EM13809935

Q1: A retail store is having a customer appreciation sale. Depending on the total dollars purchased, the customer could receive a discount on his or her total purchases. You are to develop pseudocode that will obtain the total dollars purchased from the user, determine the discount percentage, and display the total amount due. When the purchases are more than $100, the discount is 10%. When the purchases are $100 or less, the discount is 5%.

Q2: A furniture store is having a customer appreciation sale. Depending on the total dollars purchased, customer could receive a discount on his or her total purchases. You are to develop pseudocode that will obtain the total dollars purchased from the user comment determined discount percentage and display the total amount due. When the purchases are more than $2000 the discount is 12%. When the purchases are $2000 or less the discount is 7%.

Part 2: Create a function called

CalcDiscount that will calculate in return to discount amount right to functioning call it in the code.

Q3: Write a program to input a purchase amount and calculate the sales tax and total do. The SalesTax depends on the county identifying code. County's with a number less than eight have a 5% sales tax. The 8-20 Kos have a sales tax of 6%. Codes above 20 have a sales tax of 7%. The purchase amount in county code entered by the user. Use a loop to validate that the county code is between five and 30. Display the amount of the sales tax and the total.

Q4: Write a Visual Basic loop that displays the even numbers from 20 to 60.

Q5: You have been asked by the payroll department to create a program that will calculate the weekly pay for the companies 25 employees. The employee names and pay will be stored in arrays. The program will prompt the user to provide each employee's full name, hourly pay rate, and hours worked. The program will then ask whether the employee is single or married. An employee is married, the tax rate is 20%; if you're she is single, the tax rate is 25%. Also, if the employee work more than 40 hours in a week, the number of hours greater than 40 is paid a rate 1.5 times the pay rate. After all data are input and calculated, the program will display a payroll report with a list of all the employee names in weekly pay. In addition, the program will display the total payroll for the week, and the average weekly pay.

Write a program using Visual Basic, prompt to user for the appropriate input, and display the output as described above. You may assume all data are valid. Provide a program introduction message until the user how to use the program.

Reference no: EM13809935

Questions Cloud

Explains memory management requirements : Write a 2-page paper that explains memory management requirements. Write a 2-page paper that explains the differences in memory management between Windows and Linux
Business model summaries : Summarize a business model for each organization that includes both the customer value proposition as well as the profit formula. Try to keep your business model summaries to one paragraph.
Organization determine customer requirements : How does your organization determine customer requirements? How are your organization's core competencies tied to its strategic goals? What are the strengths and weaknesses of the quality function deployment approach?
Healthcare systems around the world : Healthcare systems around the world
Write a program to input a purchase amount : Write a program to input a purchase amount and calculate the sales tax and total do. The SalesTax depends on the county identifying code
Practices of global operations management : The objective of this discussion is to aid you in mastering the following course competencies: Apply theories, models, and practices of global operations management to address business problems.
What was gravity at his location : He used a 4.0 m length of string and found that with a rock tied at its end , its period as a pendulum was 4.1 seconds. What was gravity at his location?
Differentiate between traditional marketing and e-marketing : Differentiate between traditional marketing and e-marketing. List an example of how you could utilize the differences of e-marketing. Assemble a list of specific guidelines that ensures that you make a great first impression on your welcome page
Continuum of substance use and abuse : Continuum of Substance Use and Abuse

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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