Question: $cost = 4 5 . 8 7 ; declares a _ _ _ _ _ _ _ _ variable with a value of 4 5

$cost =45.87;
declares a ________ variable with a value of 45.87
boolean
integer
floating-point (double)
string

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!