In: Computer Science
please debug this so that it will compiler: C#
// Uses PrintWebAddress method three times
using System;
public class DebugSix2
{
public void Main()
{
PrintWebAddress();
Console.WriteLine("Shop at Shopper's
World");
PrintWebAddresses();
Console.WriteLine("The best bargains
from around the world");
PrintWebAddress;
}
public void PrintWebAddress()
{
Console.WriteLine(------------------------------");
Console.WriteLine(Visit us on the
web at:");
Console.WriteLine(www.shoppersworldbargains.com");
Console.WriteLine(******************************");
}
}
// Uses PrintWebAddress method three times using System; public class DebugSix2 { public static void Main() { PrintWebAddress(); Console.WriteLine("Shop at Shopper's World"); PrintWebAddress(); Console.WriteLine("The best bargains from around the world"); PrintWebAddress(); } public static void PrintWebAddress() { Console.WriteLine("------------------------------"); Console.WriteLine("Visit us on the web at:"); Console.WriteLine("www.shoppersworldbargains.com"); Console.WriteLine("******************************"); } }