Write a declaration for two variables, price and cost, that can hold numbers with decimal places.

Write a declaration for two variables, price and cost, that can hold numbers with decimal places.

LANGUAGE: C++

CHALLENGE:

Write a declaration for two variables, price and cost, that can hold numbers with decimal places.

SOLUTION:



float price, cost;

Add comment