68 471
Assignments Done
98,8%
Successfully Done
In December 2018

Answer to Question #11284 in Java | JSP | JSF for salena Holland

Question #11284
I am trying to add a method after the main method that will do a divison problem and show the answer on the screen.
Expert's answer
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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions