title: How to convert a java applet to a console application?
body: <p>I have a task to divide two numbers and get result like on picture:</p>
  
  <p><img src="https://i.stack.imgur.com/4QRDS.jpg" alt="long division"></p>
  
  <p>I did this task using applet but mentor asked to get rid of it and do the task as a console application. How do I convert the applet to a console application.</p>