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?

Last Updated on March 24, 2021 by Admin

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
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments