Computer Science, asked by jsjjsjsjajkakgga, 1 year ago

float x=*10* finding error in this question​

Answers

Answered by charlie1505
0

Answer:

here 10 is interger.

Float values accept only decimal values and 10 is integer

So the statement should be write as

float x=10.0

Explanation:

hope it will help

Similar questions