Question: As new programmers, you will frequently have to work with existing code to find and fix bugs. It just so happens that it is an

As new programmers, you will frequently have to work with existing code to find and fix bugs. It just so happens that it is an effective way of learning how to program. So in this assignment you will use the following Java code and fix the bugs. It has 5 errors in it. Your assignment is to fix the errors. There are syntax and logic errors contained in the program. Some of them will show up as errors in Repl.it, others will compile, but the program won't run as expected.

Steps:

1. Go to this address https://replit.com/@esv4/FindTheErrors#Main.java

2. To start working on the program, click the Fork button. It looks like this: It might ask you to log in to your account. The fork process will make a copy of the code into a new project under your account. At that point you can start fixing the bugs.

3. Once you have fixed all 5 errors, submit the URL to your repl.it with the corrected code. When you are able to run the program and get a list of numbers going up to the number you enter, your work is complete.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!