• Post author:
  • Post category:Blog
  • Reading time:1 mins read
  • Post last modified:June 12, 2024

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
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments