Programming with Microsoft Visual Basic 2015 (MindTap Course List)
Programming with Microsoft Visual Basic 2015 (MindTap Course List)
7th Edition
ISBN: 9781285860268
Author: Diane Zak
Publisher: Cengage Learning
Question
Book Icon
Chapter 4.LA, Problem 16E
Program Plan Intro

Sam’s Paper Shoppe

Program plan:

  • Create new Windows Forms Application.
  • Design the form by placing the labels, textbox, and button and then change their name and properties.
  • Inside the “Calculate” button,
    • Declare required variables.
    • Parse the price and quantity values.
    • Check whether “quantity” is greater than “10”.
      • Calculate the discount value.
    • Otherwise, calculate the discount value multiplying by “0.05”.
      • Calculate the total value.
    • Display the total owned
  • Inside the “Exit” button,
    • Close the form.
  • Inside the “Clear” button,
    • Clear the form.

Blurred answer
Students have asked these similar questions
Consider the following program: LOAD AC, IMMEDIATE(30)                                                     ADD AC, REGISTER(R1)                                                     STORE AC, MEMORY(20) Given that the value of R1 is 50, determine the value stored at memory address 20 after the program is executed. Provide an explanation to support your answer.
Pattern RecognitonDecision Tree please write the steps not only last answer
Pattern RecognitionPCA algorithmplease write the steps not only last answer
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L