Question: o Debugging Exercise 8-4 | Instructions Termi 1 Debug Eight4.cs has syntax and/or logical errors. Determine the problem(s), and fix the program. Grading Debug Eight4.cs
o Debugging Exercise 8-4 | Instructions Termi 1 Debug Eight4.cs has syntax and/or logical errors. Determine the problem(s), and fix the program. Grading Debug Eight4.cs + 1 using static System.Console; 2 class DebugEight4 3 { 4 static void Main() 5 { 6 FancyDisplay (33); 7 FancyDisplay (44, ""); 8 FancyDisplay (55.55); 9 FancyDisplay (77.77, "); 10 FancyDisplay("hello"); I 11 FancyDisplay("goodbye", '#'); 12 ) 13 public static void FancyDisplay(int num, char decoration "X) 14 { 15 WriteLine("{0}{1}{2} {1} {@}{1}{2} ", 16 decoration, num); 17] 18 public static void FancyDisply(double num, char decoration X') When you have completed your program, click the Submit button to record your score
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
