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.LB, Problem 5E
Program Plan Intro

Division Calculator

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 “Calcualte” button,
    • Declare required variables.
    • Parse the numbers.
    • Check whether the “num1” is greater than “num2”.
      • Assign the num1 to variable “dblTemp”.
      • Swap the values.
    • Check whether the “num2” is greater than “0”.
      • Divide the first number by second number.
      • Convert the value.
        • Otherwise, display the message in the message box.
  • Inside the “Clear” button,
    • Clear the form.
  • Inside the “Exit” button,
    • Close the form.

Blurred answer
Students have asked these similar questions
• Solve the problem (pls refer to the inserted image) and create line graph.
who started the world wide web
Question No 1: (Topic: Systems for collaboration and social business The information systems function in business) How does Porter's competitive forces model help companies develop competitive strategies using information systems? • List and describe four competitive strategies enabled by information systems that firms can pursue. • Describe how information systems can support each of these competitive strategies and give examples.
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
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,