Lesson 3 – Variables

Intro:Your manager wants be sure, you can manage the most common variable types What you will learn: Primarily Learn the common variables Secondarily: Brief introduction to Write Line, Message box and Write Line Client name:Your Manager Process Name:Variables Description:Create the following variables: A string named strName, that can hold a persons name. Create a Write […]

Intro:
Your manager wants be sure, you can manage the most common variable types

What you will learn:

  • Primarily
    • Learn the common variables
  • Secondarily:
    • Brief introduction to Write Line, Message box and Write Line

Client name:
Your Manager

Process Name:
Variables

Description:
Create the following variables:

  • A string named strName, that can hold a persons name. Create a Write Line that writes: “Your name is ” and then the name stored in the variable
  • An integer named intOurNumber and set the default value to 921. Convert it to a string and write the number out in a Write Line. Try Change the number
  • A Double named dblOutDecimalNumber and set the default value to 3.1415. Convert it to a string and write the number out in a Write Line. Try Change the number
  • Create a boolean variable and use it in an If to present a Message Box. Try change the default value of your boolean and see if that changes the behaviour of your Message Box
  • Build a DataTable and create the output variable as dtInput