# Design a program

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