Answer:
ANSWER
Explanation:
A computer is a machine made up of parts for the hardware and software. Based on the instructions given, a computer receives data through an input unit and sends it back through an output system after it processes the data. The input devices of a computer are used to get the input data.
Using the knowledge of computational language in JAVA it is possible to write a code that Fixing syntax errors Click run to compile, and note the long error list.
<h3>Writting the code:</h3>
<em>public class BeansInJars {</em>
<em> public static void main(String[] args) {</em>
<em> int numBeans;</em>
<em> int numJars;</em>
<em> int totalBeans;</em>
<em> numBeans = 500;</em>
<em> numJars = 3;</em>
<em> System.out.print(numBeans + " beans in ");</em>
<em> System.out.print(numJars + " jars yields ");</em>
<em> totalBeans = numBeans * numJars;</em>
<em> System.out.println(totalBeans + " total");</em>
<em> }</em>
<em>}</em>
See more about JAVA at brainly.com/question/12975450
#SPJ1