#include<iostream>
#include<iomanip>
#include<cstdlib>
using namespace std;

int main()
{
	char *code = new char[9];
	string w,l,p;
	
	cout<<"What is the code of linoleum to use? : ";
	 cin>>code;
	 
	char colour = code[0];
	int width,length;
	double price;
	
	for(int i=1; i<3; i++)
		w+=code[i];
	
	for(int i=3; i<5; i++)
		l+=code[i];
	
	for(int i=5; i<9; i++)
		p+=code[i];
			
	width=atoi(w.c_str());
	length=atoi(l.c_str());
	price=(atof(p.c_str())/10);
	price=price/10;
	
	int room=0;
	int j=0;
	
	cout<<"How many rooms to floor? : ";
	 cin>>room;
	 
	double  Width[room];
	double Length[room];
	 
	for(int i=0; i<4; i++ )
	{
		cout<<"Room #"<<i+1<< " => ";
		 cin>>Width[i]>>Length[i];
	}	

	

return 0;
}

