Scientific notation provides a shortcut way of representing a wide range of wide of numbers, but you lose some accuracy when you use it, because it does not allow for an extended amount of accurac. Numbers often are severed rounded when they are expressed in scientific notation.
Integers
Data types intger is declared as int. It is used to represent the integer data.
Floating point
Data types that contain decimal point are declared as float and long. These types usually provide single precision values respectively.
Characters
Data type that are symbols such as "a", "%". "$" are stored in variable declared as char.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment