Computer Science, asked by Taybaa4323, 1 year ago

Perform the functions with a suitable data type to assign 35.0012 to a variable

Answers

Answered by harsha116
26

float a=35.0012

Hope this helps

Plz mark it as brainliest

Answered by Sidyandex
19

Perform the functions with a suitable data type to assign 35.0012 to a variable.

The function is float x= 35.0012.

It can’t be used because the numbers after the decimal point would get truncated.

When the use of float is done the whole number will be present because float type of variables can contain number with decimal points up to 17 character.

Similar questions