Identify and correct the errors in each of the following statements: a) if (c < 7); {

Question:

Identify and correct the errors in each of the following statements:

a) if (c < 7);

{

Console.WriteLine("c is less than 7");

}

b) if (c => 7)

{

Console.WriteLine("c is equal to or greater than 7");

}

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Visual C# How to Program

ISBN: 978-0134601540

6th edition

Authors: Paul J. Deitel, Harvey Deitel

Question Posted: