Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For problems 6-32, determine the most appropriate data type to use for a variable to represent the data. Give the declaration required for the variable

For problems 6-32, determine the most appropriate data type to use for a variable to represent the data. Give the declaration required for the variable as well.

7. A variable Age to represent a persons age.

8. A variable "Flag" which will only take on values TRUE and FALSE.

9. A variable "T" which will be used for financial calculations (representing dollar amounts down to the cent).

12. A variable "Q" which will only numeric integer values between 0 and 100.

13. A variable "Lastname" which will take on the value of a user's last name.

16. A variable that can take on values from -10 to 100.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Azure SQL Database For Modern Developers Building Applications In The Microsoft Cloud

Authors: Davide Mauri, Silvano Coriani, Anna Hoffma, Sanjay Mishra, Jovan Popovic

1st Edition

1484263693, 978-1484263693

More Books

Students also viewed these Databases questions