Computer Science, asked by sonalshah9481, 8 months ago

write the suitable data types for the constant values? (a)101 , (b)''123'' , (c)'A' , (d)23.4351 (e) true​

Answers

Answered by anindyaadhikari13
3

Answer:

a) integer.

b) integer.

c) character.

d) double.

e) boolean.

Explanation:

I hope this will help you..Please mark this answer as the brainliest.

10 thanks + follow = inbox ✌

Answered by adventureisland
0

(a)101 - Int

(b)"123"-String

(c)'A'-char

(d)23.4351 - float

(e) true - boolean

Suitable data types :

  • (a)101     ⇒ An integer is a whole number that can be positive, negative, or zero and can be positive, negative, or zero. 
  • (b)"123" ⇒ A string is a data type that is used in most computer languages for data values that are made up of ordered sequences of characters, such as "hello world."
  • (c)'A'       ⇒ It stands for character, which is a data type that stores one character of data.
  • (d)23.4351 ⇒float is a data type in computer science that consists of a number that is not an integer since it contains a decimal fraction.
  • (e)true   ⇒A data type with two potential values is known as a Boolean data type.

Similar questions