A programmer is building a script in order to calculate the corporate bank account balance within two decimal places. Which data type would be used in the script to represent the balance?
- char
- float
- Bool
- int
Answers Explanation & Hints: The basic data types used in a script include:
- int that represents integers
- char that represents characters
- float that represents decimal numbers
- strings that represents alphanumeric characters
- Bool that represents true or false