Introduction

Through the program we do computations on data, which may be of various types depending on the requirements of the application. For ordinary arithmetic we need integers, for real life applications there are real numbers, called float, e.g., Rs. 30.5/kg onion, and the names are represented as character strings, and individual characters are are char types. The following example demonstrates this.

Figure: Edited program: Basic data types
Image types

The above programs gives many things to learn: