Using Visual Basic 2019 programming language: VB.NET Franks Software Sales Assignment You have been hired by Franks Software Sales to write a program to figure the total cost to customers that order Slappy’s software packages. Discounts are given based on the number of units sold: Number of Units Sold Discount Amount 1–9 None 10 – 19 20% 20 – 49 30% 50 – 99 40% 100 or more 50% Create a form similar to this: The three boxes are labels. Remember to use the Auto Size and Border Style properties. The program should read the number of units sold and figure a base cost. The units cost $99 each. A discount should then be figured and subtracted from the base cost. The subtotal, discount amount and total cost should be displayed, as currency, in the appropriate labels. Here are some screen shots of the running program: Set the tab order and access keys. Put comments in your program as to what each section is doing. Use constants for the discount rates and base price. Copy your code and paste it into a Word document. Take a couple screen shots of your programming running (use different values than above) and put them at the end of your code. Submit that document to Blackboard.
Addition of Two Numbers
Adding two numbers in programming is essentially the same as adding two numbers in general arithmetic. A significant difference is that in programming, you need to pay attention to the data type of the variable that will hold the sum of two numbers.
C++
C++ is a general-purpose hybrid language, which supports both OOPs and procedural language designed and developed by Bjarne Stroustrup. It began in 1979 as “C with Classes” at Bell Labs and first appeared in the year 1985 as C++. It is the superset of C programming language, because it uses most of the C code syntax. Due to its hybrid functionality, it used to develop embedded systems, operating systems, web browser, GUI and video games.
Using Visual Basic 2019
Franks Software Sales Assignment
You have been hired by Franks Software Sales to write a program to figure the total cost to customers that order Slappy’s software packages. Discounts are given based on the number of units sold:
Number of Units Sold Discount Amount
1–9 None
10 – 19 20%
20 – 49 30%
50 – 99 40%
100 or more 50%
Create a form similar to this:
The three boxes are labels. Remember to use the Auto Size and Border Style properties. The program should read the number of units sold and figure a base cost. The units cost $99 each. A discount should then be figured and subtracted from the base cost. The subtotal, discount amount and total cost should be displayed, as currency, in the appropriate labels.
Here are some screen shots of the running program:
Set the tab order and access keys.
Put comments in your program as to what each section is doing. Use constants for the discount rates and base price.
Copy your code and paste it into a Word document. Take a couple screen shots of your programming running (use different values than above) and put them at the end of your code. Submit that document to Blackboard.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images