Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN: 9781337102124
Author: Diane Zak
Publisher: Cengage Learning
Expert Solution & Answer
Book Icon
Chapter 3, Problem 4MQ1

Explanation of Solution

Appropriate data type for storing only whole numbers:

The “Integer” data type is a predefined or a built-in data type; it contains 4 bytes memory spaces.

  • The keyword “int” is used to represent an integer data type.
  • This data type stores whole numbers that range from -2,147,483,647 to 2,147,483,647 for 9 or 10 digits of precision...

Blurred answer
Students have asked these similar questions
Which integer data types can only hold non-negative values?
Need an explanation line per line for the code below:
output only.

Chapter 3 Solutions

Programming with Microsoft Visual Basic 2017

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