Write a declaration for an integer variable area and a variable price that can hold numbers with decimal places.

Write a declaration for an integer variable area and a variable price that can hold numbers with decimal places.

LANGUAGE: C++

CHALLENGE:

Write a declaration for an integer variable area and a variable price that can hold numbers with decimal places.

SOLUTION:



int area;
float price;

Add comment