Skip to content
loading...

re: FIXED: Troubles in Java please help, my teacher has been ignoring my questions for almost a week VIEW POST

FULL DISCUSSION
 

System.out.println("The height for rectangle 1 is: " + 40);
System.out.println("The width for rectangle 1 is: " + 4);
System.out.println("The height for rectangle 2 is: " + 359);
System.out.println("The width for rectangle 2 is: " + 3.5);

add some getters for these
hardcoding values won't help you much a bigger problem

code of conduct - report abuse