Answer to Question #11284 in Java | JSP | JSF for salena Holland
I am trying to add a method after the main method that will do a divison problem and show the answer on the screen.
1
2012-07-03T10:48:14-0400
public static void main(String[] args) {
div();
}
public static
void div(){
double a=12.0;
double b=4.0;
System.out.println("Result:
"+a/b);
}
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
JavaJSPJSF
Comments
Leave a comment