Question: need help debugging in c# plz The file DebugFour2.cs has syntax and/or logical errors. Determine the problem(s), and fix the program. // Program asks user


The file DebugFour2.cs has syntax and/or logical errors. Determine the problem(s), and fix the program. // Program asks user to enter three integers I/ Program displays a message indicating whether the numbers If are in sequential order, 1/ in reverse order Il or in neither order using system; using static System. Console; class Debugfour2 \{ static void Main() int num1, num2, num3; string snum1, snum2, snum3; Write("Enter first number "); snum1 = Readline( ); num1 = Convert. ToInt 32( snum 1); Write("Enter second number "); snum2 = ReadLine () ; num2 = Convert. ToInt 32( snum 2); Write( "Enter third number "); snum 3= Readline(): num 3= Convert. ToInt 32( snum3 ); if (num1 > num 2& \&um 2 num 3 ) Writeline("Numbers are in sequential order"): else if (num1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
