The provided file has syntax and/or logical errors. Determine the problem and fix the program.
using static System.Console; class DebugOne1
{ static void Main()
{ Writeline("This program displays some keyboard punctuation");
WriteLine("! exclamation point");
WriteLine("@ at-sign");
WriteLine(("# pound sign or hash mark");
WriteLine("$ dollar sign); } }
using static System.Console; class DebugOne1 { static void Main() { WriteLine("This program displays some keyboard punctuation"); // use WriteLine instead of Writeline WriteLine("! exclamation point"); WriteLine("@ at-sign"); WriteLine("# pound sign or hash mark"); // remove unnecessary ( WriteLine("$ dollar sign"); // close string with " here } }
Get Answers For Free
Most questions answered within 1 hours.