asked 96.9k views
5 votes
Given the following code segment,

double x = 30.48;
double y = 6.46;

what is the data type of the value of the expression (x − y)?

1 Answer

1 vote
double i think, as both x and y is double
answered
User Madhuka Dilhan
by
8.1k points

No related questions found