O'Reilly logo

Visual Basic® 2012 How to Program, Sixth Edition by Paul Deitel, Abbey Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3. Introduction to Visual Basic Programming

Comment is free, but facts are sacred.

—C. P. Scott

The creditor hath a better memory than the debtor.

—James Howell

Objectives

In this chapter you’ll learn:

• To write simple Visual Basic programs.

• To use the Windows Forms designer to position, size and align controls.

• To write statements that input data from the user and display results to the user.

• To declare and use data of various types.

• To use variables to store data for later use in a program.

• To use arithmetic operators to perform calculations.

• How precedence determines the order in which arithmetic operators are applied.

• To write decision-making statements.

• To use equality and relational operators to compare values.

Outline ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required