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?

IT Questions BankCategory: IT EssentialsA 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?

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

Explanation: 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

Exam with this question: IT Essentials v7.01 Chapter 14 Quiz Answers
Exam with this question: IT Essentials 8 Module 14 Quiz Answers: The IT Professional

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x