Question
For the following values, what data type would a variable need to be in order to hold it. Choose from: Integer, Decimal, Date/Time, Or String
For the following values, what data type would a variable need to be in order to hold it. Choose from: Integer, Decimal, Date/Time, Or String. Note that string should only be identified if the value cannot be stored in a variable of one of the other data types and decimal should only be identified if the value cannot be stored in an integer variable.
1.) 1000000 - Integer
2.) July 4, 1776 Date/Time
3.) Integer - String
4.) 1000000.01- Decimal
5.) asdf1234 - String
6.) 0.01 - Decimal
7.) 8:00 PM - String
8.) 1000000.00 - Integer
9) Ninety - String
Just checking to see if my answers are correct.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started