
Write a Java program to compute all data cuboids for the facts count and avg_income,
where avg_income represents the average income for a cell. The program should take a command
line parameter n representing the dimension of the cuboid and print out the corresponding cuboids.
For ex.
DataCube 0 will print out the apex cuboid
DataCube n will print out all level n cuboids (n <= 3 in this case)
Either print the cuboids for both count and avg_income or use that as another command line parameter.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.