Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

+?DebugSeven 1.cs. Instructions 1// Uses DisplayWebAddress method three tines 2

ID: 3737950 • Letter: #

Question

+?DebugSeven 1.cs. Instructions 1// Uses DisplayWebAddress method three tines 2 using static System.Console; The provided file has syntax and/or logical errors. Determine the problem(s) and fix the program class DebugSeven1 4 5static void Main() GRADING As you complete the steps above you can use the Test button to check if the lab tests are passing. Once you are satisfied with the results, use the Grade button to save vour score DisplaywebAddress; Writeline( "Shop at Shopper's World") DisplaywebAddress; WriteLine("The best bargains from around the world"); DisplaywebAddres; 9 12 13 14 15 16 17 18 19 20 public void DisplaywebAddress() WriteLine("Visit us on the web at:"; WriteLine("www.shoppersworldbargains.com") WriteLine**"

Explanation / Answer

using System.IO;
using static System.Console;

class DebugSeven1 {
static void Main() {
DisplayWebAddress();
WriteLine("Shop at Shopper's World");
DisplayWebAddress();
WriteLine("The best bargains from around the world");
DisplayWebAddress();
}
public static void DisplayWebAddress() {
WriteLine("------------------------------------");
WriteLine("Visit us on the web at:");
WriteLine("www.shoppersworldbargains.com");
WriteLine("****************************");

}
}

Output:

------------------------------------
Visit us on the web at:
www.shoppersworldbargains.com
****************************
Shop at Shopper's World
------------------------------------
Visit us on the web at:
www.shoppersworldbargains.com
****************************
The best bargains from around the world
------------------------------------
Visit us on the web at:
www.shoppersworldbargains.com
****************************