Design a program that asks user to enter number of packages

Assignment Help Visual Basic Programming
Reference no: EM13974182

A software company sells a package that retails for $99. Quantity discounts are given according to the following table:

Quantity: Discount:
10-19 20%
20-49 30%
50-99 40%
100 or more 50%

Design a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount.

Time Calculator

Design a program that asks the user to enter the number of seconds, and works as follows:

There are 60 seconds in a minute. If the number of seconds entered by the user is greater than or equal to 60, the program should display the number of minutes in that many seconds.

There are 3,600 seconds in an hour. If the number of seconds entered by the user is greater than or equal to 3,600, the program should display the number of hours in that many seconds.

There are 86,400 seconds in a day. If the number of seconds entered by the user is greater than or equal to 86,400, the program should display the number of days in that many seconds.

The teacher would like pseudocode and flowcharts as well as visual basic language

Reference no: EM13974182

Questions Cloud

When does the complete combustion of natural gas methane : When does the Complete Combustion of Natural Gas Methane happens? Give the reaction of combustion of methane. What type of reaction is combustion of methane in terms of heat? What are alkanes? What is the general formula of alkanes? What is fermentat..
Which capacity plan would you recommend : Which capacity plan would you recommend? Assume that the quarterly demand pattern repeats from year to year.
What is the empirical evidence : What is the empirical evidence? What does Card argue is correct? What does Borjas argue is correct?
Create test class to constuct and call methods of your class : Create a test class to constuct and call the methods of your class. Describe your class and demonstrate your code functions properly.
Design a program that asks user to enter number of packages : Design a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount.
The good buy company produces a single product : The Good Buy Company produces a single product. The cost characteristics of the product and of the manufacturing plant are given below:
What does the dalai lama mean by basic human values : What does the Dalai Lama mean by "basic human values"? In your opinion, does the lack of basic human values contribute to the tensions in the world? What is the difference between empathy and compassion
Lead managers to develop various pricing strategies. : Propose how differences in demand and elasticity lead managers to develop various pricing strategies.
Write one page summary of given video : Peru's City Of Ghosts- https://www.youtube.com/watch?v=Nbw-_15xAXc and Watch this video and write 1 page (250 - 350 words ) summary(notes)

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Write a program that displays the patterns separately

Write a program that displays the patterns separately, one below the other in a TextBox - Maximize your use of repetition and maximize the number of output statements.

  Develop a simple application for the ice-cream games

Develop a simple application for the Ice-Cream Games, which captures information about athletes and populates a list box.

  What are the advantages of components

Explain the difference between declaring a variable using the keyword Public, Friend, or Private.

  Send a printout of interface to the printer

write a visual basic instruction to specify that of printform1 control should send a printout of interface to the printer.

  Create web pages

What are some of the important features of these programs that assist a novice like Juan learn how to create web pages?

  Delete an existing product from the database

You should also consider how to validate the requests, i.e. don't delete a record that's not there and don't add a product with an existing code

  Calculate and display a customer''s cable bill

The Calculate Total Due button's Click event procedure should calculate and display a customer's cable bill. The cable rates are shown below. Business customers must have at least one connection. The form's FormClosing event procedure should verif..

  Create a visual basic windows application

Create a Visual Basic Windows application. Use the following names for the solution, project, and form file, respectively: Georgetown Solution, Georgetown Project, and Main Form.vb. The interface allow the user to enter a five-digit credit card nu..

  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

  Effectiveness of the design and proposed program

Evaluate the overall design of the application and draw appropriate conclusions as to the effectiveness of the design and proposed program - Discuss and justify a means of representing the results of the calculations via an appropriate medium/objec..

  Create an application that list accounts from a dictionary

Create an application that list accounts from a Dictionary Object. Create an Account Class that contains an ID, Name, and Balance.

  Simple calculator program

Build a simple calculator program with an Access form that allows a user to enter numbers in two separate text boxes. The Access form should have four separate command buttons for adding, subtracting, multiplying, and dividing. Write code in each com..

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