Carpet Calculator Java Program

I m doing a carpet calculator program with aggregations and can t seem to get my roomcarpet class to work properly.
Carpet calculator java program. Welcome to the java programming forums. What s wrong with my code. The professional friendly java community. 20 now enter the width.
One for the lenght of the room and one for the width. This program will display price to carpet a room. Carpet calculator the westfield carpet company has asked you to write an application that calculates the price of carpeting for rectangular rooms. 21 500 members and growing.
This is what i have so far. You must input the room s dimensions in feet. The application should display the total cost of the carpet. To cover that floor with carpet that costs 8 per square foot would cost 960 12x10x8 960 first you should create a class named roomdimension that has two feields.
Github is home to over 40 million developers working together to host and review code manage projects and build software together. Our members have a wide range of skills and they all have one thing in. Github is home to over 40 million developers working together to host and review code manage projects and build software together. Carpet calculator problem using aggregation.
Can someone help me fix the errors in this please. Enter the length first.