What data types would you use to represent the following items :-
(a) The number of employees in a Department
(b) The salary of an employee
(c) The identification number of an employee
(d) The registration number of a vehicle.
Answers
Answered by
10
Answer:
1. Integer type
2. Float type
3. Character or integer type
4. Character type
Explanation:
Because number of employees can be a only an integer.
Salary sometimes can not be whole numbers.
If you keep only integers in identification number then take integer type or if you use alphabets in that then use character type.
Vehicles registration number is usually a combination of numbers and alphabets, so character type.
Answered by
3
I hope this answer will help you and give me 1 thanks please....
Explanation:
i
Attachments:
Similar questions
Social Sciences,
5 months ago
Science,
9 months ago
Computer Science,
9 months ago
Sociology,
11 months ago