Please edit your post and wrap your code with code tags:
YOUR CODE HERE
to get highlighting and preserve formatting.
Do you have any specific questions about your program?
Sorry am a newbie, I think I did what you asked me for.
I need help with my testdriver class, also just need some to look at my code and tell me if its correct.
Can you explain what help you need? What problems are you having?Quote:
I need help with my testdriver class,
The code has lost its formatting. Logically nested statements should be indented.
If it ever compiled, it seems to have lost more than its formatting. No semicolon on line 1, no parameters on line 5...
Fix it, or try to, and then ask specific questions about the problems you're having with it.
I think I fixed it this assignment is hand written, it doesn't have to work on an IDE, I need help with my Test Driver class. I don't know if it will accept input from scanner class and use to test the values from base and height in the RightTrangle class. 2nd I need help writing out the output
Does it even compile? It doesn't look like it would.
no it does not compile,
Soooo... exactly what don't you understand about why it does not compile?