In: Computer Science
What data type should be used to store a count of items in a shopping cart?
Select one:
a. int
b. String
c. double
d. char
e. boolean
What data type should be used to store the dollar amount in a shopping cart?
Select one:
a. boolean
b. char
c. String
d. int
e. double
According to the problem statements above,
The answers are as follows,
What data type should be used to store a count of items in a shopping cart?
What data type should be used to store the dollar amount in a shopping cart?
I hope the above explanation and information will help you out!
Thank you!